summaryrefslogtreecommitdiff
path: root/libavformat/dashdec.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2020-02-19 13:20:45 +0800
committerJun Zhao <barryjzhao@tencent.com>2020-03-05 14:15:32 +0800
commitab316a19aad70b8350a22b605a7808937399e773 (patch)
tree65ba85436ec260aa4cfd31209c8aa902cb8eb9da /libavformat/dashdec.c
parent493f669efaa0504dd46ec2c44acc8578ba2c91a0 (diff)
lavf/dashdec: Add ts to the list of allowed extensions.
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@tencent.com>
Diffstat (limited to 'libavformat/dashdec.c')
-rw-r--r--libavformat/dashdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 15e79fd51a..c05b75aa64 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}
};