diff mbox series

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

Message ID 1583066326-7307-2-git-send-email-mypopydev@gmail.com
State Superseded
Headers show
Series [FFmpeg-devel,V1,1/3] lavf/dashenc: add 3GPP TS26.247 probe in dash demuxer
Related show


Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Jun Zhao March 1, 2020, 12:38 p.m. UTC
From: Jun Zhao <barryjzhao@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

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


diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 7be3276..984c95b 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2378,7 +2378,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},