[FFmpeg-devel] [PATCH 1/2] lavc/internal: add skip_samples2 field

James Almer jamrial at gmail.com
Thu Oct 19 15:50:39 EEST 2023


On 10/19/2023 5:39 AM, Anton Khirnov wrote:
> Current interaction between AV_FRAME_DATA_SKIP_SAMPLES and
> AVCodecContext.skip_samples seems unncecessarily complicated to me and
> you're just making it worse.
> 
> Is there any reason we can't drop AVCodecContext.skip_samples entirely
> and signal it purely through side data? Then decoders could fully
> control everything they wish by modifying side data on output frames.

Given that now coded_side_data is fully implemented for decoding and 
encoding, including getting elements from the container, it's probably a 
good idea to do that.


More information about the ffmpeg-devel mailing list