[FFmpeg-devel] [PATCH] Try to set AVFrame.reference to correct values.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Nov 5 23:29:52 CET 2011


On Sat, Nov 05, 2011 at 08:13:29PM +0100, Michael Niedermayer wrote:
> On Sat, Nov 05, 2011 at 07:50:07PM +0100, Reimar Döffinger wrote:
> > I am not sure these new values are correct, not am I sure
> > the semantics are a good idea since we do not seem to make any
> > use of them but they caused a lot of confusion, but this
> > seems to make things closer to matching the documentation.
> 
> we could just say in the docs that non zero values have codec specific
> meaning, whats documented is true for the current h264 decoder.
> iam fine with your patch as well, pick what you prefer

I'll push the patch as is for now.
If 3 is used consistently new codecs hopefully have a high chance
of getting the right value copy-and-pasted, too.


More information about the ffmpeg-devel mailing list