[FFmpeg-devel] [PATCH] avcodec/decode: give packet side data priority over global

James Almer jamrial at gmail.com
Fri Mar 1 17:37:08 EET 2024


On 3/1/2024 12:29 PM, Anton Khirnov wrote:
> Quoting James Almer (2024-03-01 13:37:43)
>> Restores the behavior prior to ae22271620df90567ba276832b33607d64e9ba9c, where
>> global side data would be inserted first to the output frame, resulting in both
>> two entries for the same type and having priority when fetched by the AVFrame
>> helpers.
>>
>> This is a temporary fix for ticket #10857 until a proper method to select the
>> source for side data is implemented.
> 
> Does it actually fix the ticket? I think
> ff_decode_frame_props_from_pkt() is called before the decoder adds
> bitstream side data to the frame.

Oh, bitstream side data. I was thinking about packet side data (so also 
coming from lavf). Right, this would not work then, so patch dropped.


More information about the ffmpeg-devel mailing list