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

Pavel Koshevoy pkoshevoy at gmail.com
Tue Jul 1 08:39:32 EEST 2025


On Mon, Jun 30, 2025, 21:46 Michael Niedermayer <michael at niedermayer.cc>
wrote:

> 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 ?
>

In my player?  None that I cared to measure



> also how does this align with AV_PKT_DATA_NEW_EXTRADATA
> and AV_PKT_DATA_PARAM_CHANGE ?
>

I don't know anything about them.



> thx
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> No snowflake in an avalanche ever feels responsible. -- Voltaire
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list