[FFmpeg-devel] [PATCH V2 2/3] lavf/dashdec: Add ts to the list of allowed extensions.

Jun Zhao mypopydev at gmail.com
Tue Mar 3 13:48:51 EET 2020


From: Jun Zhao <barryjzhao at tencent.com>

Dashdec can able to handle MPEG-2 TS streams by default as well,
used MP4Box to create the segmented MPEG-2 TS files for
verification.

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavformat/dashdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 15e79fd..c05b75a 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2376,7 +2376,7 @@ static int dash_probe(const AVProbeData *p)
 static const AVOption dash_options[] = {
     {"allowed_extensions", "List of file extensions that dash is allowed to access",
         OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,
-        {.str = "aac,m4a,m4s,m4v,mov,mp4,webm"},
+        {.str = "aac,m4a,m4s,m4v,mov,mp4,webm,ts"},
         INT_MIN, INT_MAX, FLAGS},
     {NULL}
 };
-- 
1.7.1



More information about the ffmpeg-devel mailing list