From patchwork Tue Mar 3 11:48:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 18015 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id DC41444B78A for ; Tue, 3 Mar 2020 13:49:13 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C3E7168B5B9; Tue, 3 Mar 2020 13:49:13 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AC11468B03B for ; Tue, 3 Mar 2020 13:49:07 +0200 (EET) Received: by mail-pl1-f172.google.com with SMTP id y8so1190262pll.13 for ; Tue, 03 Mar 2020 03:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DuXKyTZhJHhlnWXQLZWZF8aFWggUZ1T8FLq/lsgdwAQ=; b=WUJpq51gTJoI7jHetRShSIUviScwEntHDIB3GvVNFHo10Anz0SZdJo9W96qqXNrjBz mLEwuUwe1dMrwGhl6Mx4rEGsEMah5PY9LHYH2hKsrp1r9K56MUTplfRi+jXJ1KZUBpXC 8rXjn80uvEtpL7Vh2Q5FaWkRzoiMdlIx5MCLXrpRnEW59Hs2B8XJS4mY4naHWIDt1xee n2YhM3rlx6y8Pnz6tZ9C5/CWZjRyNEn0fOq8UlQNTCoYeHSIQnSy2vX4rLlYCFvfUSrU GKbwE907V7Mp6HzxdLKm0CSMfGdJBLPlCgyfnApxRSxJ2xsHMy08nCCX2Q9u7QTEfh2E FEFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DuXKyTZhJHhlnWXQLZWZF8aFWggUZ1T8FLq/lsgdwAQ=; b=HmGCSywE+ZvEa55W5Qzc9CYgUT0480N705sWc/6uOaomjw19tSBIXpf2me2kqa1SsI OmyzhGZaWcWviDW1KCDChCt0Qfv12FTugmHa9IybL2f4VuyfUCpbClwXsIR0zI9yWCew sO6OcwpSJ3GL4m9eRdZB2NPGYz0s2/wgHHacVnLSeTsZiAmzHhKzOpLemS9rNnpLRfEV Op4Z4p1VIRE3xJ3ojJV308p8lF1aOIoiK24YXM4jIVcyRICpHP15/LATtynISDWCXYJn 4+fKRW1rhj9lHceY/hE+MqASJYYP9ibhbt1XeB6tcEuxec4kj1mfQ6i0BLqtnNnhuTye sSyw== X-Gm-Message-State: ANhLgQ1PbO9Xu7MgLYppCV6mRkr/7KfrJcXKQ5Y9cfNUio5Watx9Uf2F ouJhfw2GB8L8W/zjWSqh7mnwzd8T X-Google-Smtp-Source: ADFU+vssZyaDvUPxfgkhR9CzKHa3fwebWGn2r6Qjm8pmMVYAHkr7pQLH4CqKDaRSdw3vfOpvW72VbA== X-Received: by 2002:a17:902:ec02:: with SMTP id l2mr3839810pld.184.1583236146003; Tue, 03 Mar 2020 03:49:06 -0800 (PST) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id o19sm2038162pjr.2.2020.03.03.03.49.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2020 03:49:05 -0800 (PST) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Tue, 3 Mar 2020 19:48:52 +0800 Message-Id: <1583236132-10538-3-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1583236132-10538-1-git-send-email-mypopydev@gmail.com> References: <1583236132-10538-1-git-send-email-mypopydev@gmail.com> Subject: [FFmpeg-devel] [PATCH V2 3/3] lavf/dashdec: add 3GPP TS26.247 probe in dash demuxer X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Jun Zhao MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Jun Zhao Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile to dash demuxer probe. Signed-off-by: Jun Zhao --- libavformat/dashdec.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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")) {