[FFmpeg-devel] [PATCH] avformat/mpegts: Add -reprobe_stream_if_pmt_es_stream_type_changes option

Pavel Koshevoy pkoshevoy at gmail.com
Sun Jun 15 04:36:11 EEST 2025


On Sat, Jun 14, 2025 at 3:56 PM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Sat, Jun 14, 2025 at 01:58:28PM -0600, Pavel Koshevoy wrote:
> > Make runtime AVStream.codecpar codec_id updates optional and disabled
> > by default, so that avformat API clients can enable this feature
> explicitly
> > when they add support for runtime codec changes.
> > ---
> >  libavformat/mpegts.c | 8 +++++++-
> >  tests/fate/demux.mak | 2 +-
> >  2 files changed, 8 insertions(+), 2 deletions(-)
>
> patch LGTM
>
>
So, should I still wait for you to revert
0021484d05f9b0f032fa319399de6e24eea0c04f and then submit a new patch
combining all three changes:
- the original 0021484d05f9b0f032fa319399de6e24eea0c04f changes
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-April/342631.html,
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-May/343004.html
- the segfault fix
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/344890.html
- the new reprobe_stream_if_pmt_es_stream_type_changes MpegTsContext
option, https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/345187.html

Since 0021484d05f9b0f032fa319399de6e24eea0c04f hasn't been reverted yet you
could just apply the other 2 patches instead.

Thank you,
    Pavel.


More information about the ffmpeg-devel mailing list