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

Anton Khirnov anton at khirnov.net
Thu Oct 19 11:39:26 EEST 2023


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.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list