From patchwork Sun Mar 1 12:38:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 17983 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 0277344AF63 for ; Sun, 1 Mar 2020 14:39:00 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C969368B01C; Sun, 1 Mar 2020 14:38:59 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D6BF868AC53 for ; Sun, 1 Mar 2020 14:38:52 +0200 (EET) Received: by mail-pl1-f195.google.com with SMTP id g6so3083960plp.6 for ; Sun, 01 Mar 2020 04:38:52 -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; bh=NJHWC6Td3Rcp3TJx5tuKhJ4TgoKUxZXoD7iEapeINys=; b=WXFnYEgb7p/1tJW030+DdnZF5/amLiVc+UisHC2tyDgOK6fHzRgdPClwBxxR0cJ+HW lCMqhrxH8xxl5tRT4VdiIHPx1eCe60sL+ZYjnYomJT4T9jYIBUjtw96xwVZoXEDyIGLb e5b9zxr+FTnlUcpUUotiNv6DAKTRFGDg+vDijfK1mSxp5bgyxrSNLSk1p0VIhD6Jm3L/ DzhtYjK41XVqbBKiUYfl7wnJqO/2RVyomBg4FO9S655vyHubcDodFwBdkISOPAuaxxVb AeFKuWvuVkQ44Iaqh4OrgQD/UNNFXVVsICO9Olh3jovRp0L56o139WWhTzn3w9QwsK1Y HWCg== 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; bh=NJHWC6Td3Rcp3TJx5tuKhJ4TgoKUxZXoD7iEapeINys=; b=nh2iBeubC4dovOo5FVPb6ijnfNy+/U4pNGfzMWrzfunpmaPucj9LFfVmnRbMdrz6tJ 6eeByJfgP/xzHZg6m0g+M141LUq/Rao3XEprILnQIZiwqRlNUmsdNMvb8OyrDQb7QpFS Z2ZFNrToCM2ahXGDF4snm22I5Rtv/KoEbh/YaHL9xirmTz94wewUJuSVz2MLcevTiowO 3qN1x0UOLywkvSXdmKVAms/TT7tRK/IR9Af1Hq90MYmdiVV4zyO/4iUFen/jZNyY0L6U oPKxNwMvcrxn6jUL/NkUMrQe5Gpy60TbDjiso7fKtI7kDP3eCCUqKsyS0nO6Ig56qN0Y g9qw== X-Gm-Message-State: APjAAAWSvjdfBIDRxJQH6KvEPpTOJIaqFKQtoOLSAMPZ6QcxQFR7Q4fi DmHS3IhfnZtDcla4VkYktfd63VSdxJM= X-Google-Smtp-Source: APXvYqwqyHnX2I8UgxGNkw7NI0rBaiK3hZg+pJHfdCDct/8ipZn+AuUK+6NcE/4twWpTZucJQBv2bw== X-Received: by 2002:a17:90a:c58f:: with SMTP id l15mr12668470pjt.102.1583066330941; Sun, 01 Mar 2020 04:38:50 -0800 (PST) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id 144sm18460769pfc.45.2020.03.01.04.38.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2020 04:38:50 -0800 (PST) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Sun, 1 Mar 2020 20:38:44 +0800 Message-Id: <1583066326-7307-1-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 Subject: [FFmpeg-devel] [PATCH V1 1/3] lavf/dashenc: 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 | 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")) { return AVPROBE_SCORE_MAX; } if (av_stristr(p->buf, "dash:profile")) {