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

Anton Khirnov anton at khirnov.net
Fri Mar 1 17:29:03 EET 2024


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.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list