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:
Jun Zhao 2020-02-19 13:20:45 +08:00
parent 493f669efa
commit ab316a19aa
1 changed files with 1 additions and 1 deletions

View File

@ -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}
};