diff mbox series

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

Message ID 1583236132-10538-2-git-send-email-mypopydev@gmail.com
State Accepted
Headers show
Series [FFmpeg-devel,V2,1/3] doc/filters: add missed framesync part in filter docs
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 3, 2020, 11:48 a.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 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},