diff mbox series

[FFmpeg-devel,V2,3/3] lavf/dashdec: add 3GPP TS26.247 probe in dash demuxer

Message ID 1583236132-10538-3-git-send-email-mypopydev@gmail.com
State Accepted
Headers show
Series [FFmpeg-devel,V2,1/3] doc/filters: add missed framesync part in filter docs
Related show


Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Jun Zhao March 3, 2020, 11:48 a.m. UTC
From: Jun Zhao <barryjzhao@tencent.com>

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 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff mbox series


diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index c05b75a..5bbe5d3 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")) {