[FFmpeg-devel] [PATCH V1 1/3] lavf/dashenc: add 3GPP TS26.247 probe in dash demuxer
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Mar 2 11:10:32 EET 2020
Am So., 1. März 2020 um 13:39 Uhr schrieb Jun Zhao <mypopydev at gmail.com>:
>
> From: Jun Zhao <barryjzhao at tencent.com>
>
> Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile
> to dash demuxer probe.
>
> Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> ---
> libavformat/dashdec.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
> index 15e79fd..7be3276 100644
> --- a/libavformat/dashdec.c
> +++ b/libavformat/dashdec.c
> @@ -2361,7 +2361,9 @@ 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:DASH10") ||
> + av_stristr(p->buf, "3GPP:PSS:profile:DASH11")) {
Is there a reason why you don't compare with "3GPP:PSS:profile:DASH1"?
Carl Eugen
More information about the ffmpeg-devel
mailing list