[FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed
James Almer
jamrial at gmail.com
Sun Mar 16 19:42:42 EET 2025
On 3/16/2025 4:18 AM, Gyan Doshi wrote:
> 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
How does this differ from simply setting reinit_filter to false, if what
you want is the filtergraph to not be reinitialized?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 491 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250316/0b335992/attachment.sig>
More information about the ffmpeg-devel
mailing list