]> git.sesse.net Git - ffmpeg/commitdiff
lavf/dashdec: add 3GPP TS26.247 probe in dash demuxer
authorJun Zhao <barryjzhao@tencent.com>
Wed, 19 Feb 2020 03:51:20 +0000 (11:51 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 5 Mar 2020 06:15:41 +0000 (14:15 +0800)
Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile
to dash demuxer probe.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavformat/dashdec.c

index c05b75aa64d6b00f408e61d74fb260a5de2b34cd..5bbe5d3985255acfdc67c2c6265c87b298a6abaa 100644 (file)
@@ -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")) {