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>
This commit is contained in:
parent
493f669efa
commit
ab316a19aa
@ -2376,7 +2376,7 @@ static int dash_probe(const AVProbeData *p)
|
|||||||
static const AVOption dash_options[] = {
|
static const AVOption dash_options[] = {
|
||||||
{"allowed_extensions", "List of file extensions that dash is allowed to access",
|
{"allowed_extensions", "List of file extensions that dash is allowed to access",
|
||||||
OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,
|
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},
|
INT_MIN, INT_MAX, FLAGS},
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user