[FFmpeg-devel] [PATCH][RFC] avcodec/avutil: Add timeline side data

wm4 nfxjfg at googlemail.com
Tue Apr 3 06:15:24 EEST 2018


On Tue, 3 Apr 2018 00:45:17 +0200
Michael Niedermayer <michael at niedermayer.cc> wrote:

> So in this sense my question is what advantage the opaque side data based system
> has over a system simply using a C struct the way AVChapter works ?

The _only_ reason the side data is opqaue is because side data can't
contain pointers, which again is because side data must be a flat byte
array for legacy reasons. (Yes, we should change this, but probably
can't now.)

So I think all what you've been writing can be reduced to: should this
really be side data, or would it be better to just make it a new
AVStream field.


More information about the ffmpeg-devel mailing list