[FFmpeg-devel] [PATCH 1/2] lavc/internal: add skip_samples2 field
Lynne
dev at lynne.ee
Thu Oct 19 15:49:46 EEST 2023
Oct 19, 2023, 10:39 by anton at khirnov.net:
> 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.
>
You mean let the decoder parse skip samples side data,
strip it from the packet, and attach a new side data to the frame?
More information about the ffmpeg-devel
mailing list