summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2020-02-19 11:51:20 +0800
committerJun Zhao <barryjzhao@tencent.com>2020-03-05 14:15:41 +0800
commite27a35e0458224ef6f47753f248ba84ec8284818 (patch)
tree6a2317b8b2d50a19e00026e738e9f36c1cefb5bb /libavformat
parentab316a19aad70b8350a22b605a7808937399e773 (diff)
downloadffmpeg-e27a35e0458224ef6f47753f248ba84ec8284818.tar.gz
lavf/dashdec: add 3GPP TS26.247 probe in dash demuxer
Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile to dash demuxer probe. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index c05b75aa64..5bbe5d3985 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2361,7 +2361,8 @@ static int dash_probe(const AVProbeData *p)
if (av_stristr(p->buf, "dash:profile:isoff-on-demand:2011") ||
av_stristr(p->buf, "dash:profile:isoff-live:2011") ||
av_stristr(p->buf, "dash:profile:isoff-live:2012") ||
- av_stristr(p->buf, "dash:profile:isoff-main:2011")) {
+ av_stristr(p->buf, "dash:profile:isoff-main:2011") ||
+ av_stristr(p->buf, "3GPP:PSS:profile:DASH1")) {
return AVPROBE_SCORE_MAX;
}
if (av_stristr(p->buf, "dash:profile")) {