[FFmpeg-devel] [PATCH] avformat/mpegts: Add AVFMT_FLAG_ALLOW_CODEC_CHANGES (v2)

Michael Niedermayer michael at niedermayer.cc
Tue Jul 1 06:46:28 EEST 2025


On Mon, Jun 30, 2025 at 07:32:36PM -0600, Pavel Koshevoy wrote:
> On Mon, Jun 30, 2025 at 3:46 PM Scott Theisen <
> scott.the.elm-at-gmail.com at ffmpeg.org> wrote:
> 
> > On 2025/06/29 23:55, Pavel Koshevoy wrote:
> > > Make midstream AVStream.codecpar updates optional and disabled
> > > by default, so that avformat API clients can enable this feature
> > > explicitly when they add support for midstream codec changes.
> >
> > Is this signaled in any way or is the client expected to check if
> > codecpar has changed?
> >
> 
> The client is expected to check codecpar for changes ...

What performance impact does this have ?

also how does this align with AV_PKT_DATA_NEW_EXTRADATA
and AV_PKT_DATA_PARAM_CHANGE ?

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250701/fd41ec62/attachment.sig>


More information about the ffmpeg-devel mailing list