[FFmpeg-devel] [PATCH 2/3] avformat/matroskaenc: write the FieldOrder element for non-interlaced video

Hendrik Leppkes h.leppkes at gmail.com
Tue Sep 27 23:56:41 EEST 2016

On Tue, Sep 27, 2016 at 8:03 PM, James Almer <jamrial at gmail.com> wrote:
> It's listed as mandatory in https://matroska.org/technical/specs/index.html
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> The spec also mentions FieldOrder "MUST be ignored if FlagInterlaced is not
> set to interlaced". Since it's a mandatory element, i interpreted that as a
> demuxer guideline.

Its a mandatory field with a default value - that kind of definition
is a bit weird, but the general consensus is that it does not have to
be written if it would write the default anyway.

- Hendrik

More information about the ffmpeg-devel mailing list