[FFmpeg-devel] [FFmpeg-cvslog] ffmpeg: add per-stream input option drop_changed

Martin Storsjö martin at martin.st
Mon Mar 24 14:31:55 EET 2025


On Mon, 24 Mar 2025, Gyan Doshi wrote:

> ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Sat Mar 15 16:51:05 2025 +0530| [cbbc927a67f142a02bfc5d047c03587599ee5b55] | committer: Gyan Doshi
>
> ffmpeg: add per-stream input option drop_changed
>
> This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED.
>
> This option is meant to be used when the filtergraph should not be
> reinited upon input parameter changes as that leads to loss of state
> in the filtergraph potentially leading to broken or aborted output,
> e.g. inserting of silence with first_pts specified in aresample.
>
> Generally useful to avoid corrupted yet decodable packets in live
> streaming inputs.
>
> This option when enabled takes precedence over reinit_filters
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbbc927a67f142a02bfc5d047c03587599ee5b55
> ---

This change is causing failed fate tests in many different configurations; 
I'm seeing null pointer dereferences and similar, on both msvc/arm, 
msvc/x86_32, macos/aarch64. Please investigate.

// Martin



More information about the ffmpeg-devel mailing list