[FFmpeg-devel] [PATCH 2/3] avformat/mpegts: Add standard extension so hls can check in extension_picky mode
Michael Niedermayer
michael at niedermayer.cc
Thu Jan 16 05:39:50 EET 2025
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavformat/mpegts.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 765bedec5cc..1337aa12030 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -3459,6 +3459,7 @@ void avpriv_mpegts_parse_close(MpegTSContext *ts)
const FFInputFormat ff_mpegts_demuxer = {
.p.name = "mpegts",
.p.long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
+ .p.extensions = "ts,m4s",
.p.flags = AVFMT_SHOW_IDS | AVFMT_TS_DISCONT,
.p.priv_class = &mpegts_class,
.priv_data_size = sizeof(MpegTSContext),
--
2.48.1
More information about the ffmpeg-devel
mailing list