[FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

Hendrik Leppkes h.leppkes at gmail.com
Sat May 19 01:12:50 EEST 2018

On Fri, May 18, 2018 at 11:17 PM, wm4 <nfxjfg at googlemail.com> wrote:
> Other flags are also generic. For a long time, AV_PKT_FLAG_KEY was the
> only flag. It applies to every codec, and is in theory not necessary
> for decoding (although some decoders might read it anyway, but that's
> a separate story).
> If we add flags about fields now, this will cause only confusion,
> because:
> [...]
> 2. They're suddenly needed for correct decoding.

That would be my main concern. I abstract the connection between
demuxer and decoder, and there is no field to transmit such mandatory
flags right now, while I do handle side-data.
So basically, this new flag would add additional work for everyone
doing something similar, while using side-data would likely "just

- Hendrik

More information about the ffmpeg-devel mailing list