Message ID | 1524297282-2159-2-git-send-email-mypopydev@gmail.com |
---|---|
State | Accepted |
Commit | 0c28a5cf0fc642825036c07c2b57b79c42583b27 |
Headers | show
Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:155:0:0:0:0:0 with SMTP id c82-v6csp1511407jad; Sat, 21 Apr 2018 01:03:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZruF6yCFyBDyWENNwwIO8/YI2fr/QG+S6cptEvicIVGT83NWPIrux8VgemHo39mqN/cC4OK X-Received: by 10.28.74.133 with SMTP id n5mr4047742wmi.31.1524297792912; Sat, 21 Apr 2018 01:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524297792; cv=none; d=google.com; s=arc-20160816; b=lhAi230FpOTdlZ1eprFmZ9XRN/TLjLEkMyooFBG9BQ3O1SQVzOSHLncuJf4kiz2zgl HqgOue5n5EReFcr9u0tBE2Fa89mUUUAgD1FkmBqOxYDLmZRAm1opC0PivB65Z44Zj7zX ObezlPLHlhpTozbvW3EjmTlXzX7oCX99Rvzmt1oKlbWg5D5Wbj3qtNdONfCa/Q7Y+tm7 sEvuDKVSJ5IjTZgHlGt+O9fKSYwsZFjb73YH4OYWhYEt6BLlNJlm3BxDWSDbH84sqbuu T/Ej0aNzEMalbg+7lS0q4g3r+6al4qD2LdzCrd8Lti6X+NZyEo0oBWX03cQvSdqyVr7R ZGVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=eKP6KmSASnCH174jR4t/eR7zaO2SA6n7vVaMM+YjVfM=; b=TnOikLXm7800hq7LbFiWHCwGJRGP5dnloGCpWmVvCfQJ3Z4xx2ekOCCXhEq8DsFQal n5upzbCGE7xFRgUFoxaAwBQklbzKE57sTYiNDecRsR9UjmkwLJDwQ/wjAQphboPRSOBv k9R9RsIXbM45R/gE+92YlNKPq54AMQh4XAb7yRaBC0bJJiXanCS0To9P2h9Ba8im/faE RPQYe4gSwV4oneEAJ9o2Kjr2T1wNLea27C7338LsAqpHmbgadwnP5+Ark0rNcIAPNcB6 eXJiGWUMX/RrgOYv5CTI+6Sd2HDviejjqct8Kxm9UYeHhOEUKD2KIomd8IW39f6fEhVF s77A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cPA7sFrj; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p21si2240717wmc.211.2018.04.21.01.03.12; Sat, 21 Apr 2018 01:03:12 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cPA7sFrj; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BF5A668A034; Sat, 21 Apr 2018 11:02:42 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D88CA68042B for <ffmpeg-devel@ffmpeg.org>; Sat, 21 Apr 2018 11:02:36 +0300 (EEST) Received: by mail-pg0-f65.google.com with SMTP id e12so4958001pgn.9 for <ffmpeg-devel@ffmpeg.org>; Sat, 21 Apr 2018 01:03:05 -0700 (PDT) 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=eAxG7CiCLBcaYNNrF0JVytTaLj9K18adTZUyZS0yfhI=; b=cPA7sFrjMUuZV6qzF2kX5B43vXC8I6spoCnO6IsMEdf7ylYWRY1vIjZQ+bOh9N97jR qBJn4brE+SIhmAwkvk2hyeUnx6t7yC4aHbF617rgfPGoggFpEbXVmo/gepRD7GVYuINj nNBjmAIqHrmrfPQVtuFPv3B+Tyf41syO4WW/8a43M2pnYiTm+EqomFKK2gVb7yhUcnp0 ULBS0icdAGl8RKG2Nb+XsoofP24fWWRxtGfqarrpXVncBFgp2WWP0eLhWXW1eptJcBjG 89ZUkkeuq29NBqJxOmIchlsNvvfIWhd3FIuyGHvI6LxJbXa2tsbYgMP8PaA3r+i9kf8F lcjA== 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=eAxG7CiCLBcaYNNrF0JVytTaLj9K18adTZUyZS0yfhI=; b=qnCHHRBDOA5t7zMIbYuCNwX6GhkdfY0XD3v+/oAZN2Q5/sFHBBVD8ZZfe49FQIeQEi t3Y4UMDBjIall+4nSi4kJJ8YwZ8mfVlWA28R1Bi6Hh5jsZmDhkvehL5qTzmWwuCpfuBD 8iGnv6+3ZcmJXlX49JoF25b8Er91rYqSQrtbBDeJEleqOUHjeAsT+IZHpC5IyT8RLacN HL5q++3vDfhJl60bYeZFFqyV5UYLg4dpOMvHplg8uIqF6jWOSfKOqrIXL5qTTFzWcOVo /R/q/XgaSTXQrLRtIp8tmBZtWqAPGw+raFCUPpAUHoXRxBAV7cmaH9DbCN0NJw0/UED5 U1EQ== X-Gm-Message-State: ALQs6tCLCTOp/gDGyaPu7dttN4nlThtDFFNrELgTDYOA9ogEScFnknIO lY6Nwf/I9M3khEDKSRj0O2fB1Q== X-Received: by 10.98.24.214 with SMTP id 205mr11741065pfy.242.1524297297855; Sat, 21 Apr 2018 00:54:57 -0700 (PDT) Received: from localhost.localdomain ([47.88.54.25]) by smtp.gmail.com with ESMTPSA id p13sm15969616pgn.18.2018.04.21.00.54.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 Apr 2018 00:54:57 -0700 (PDT) From: Jun Zhao <mypopydev@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Sat, 21 Apr 2018 15:54:41 +0800 Message-Id: <1524297282-2159-2-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524297282-2159-1-git-send-email-mypopydev@gmail.com> References: <1524297282-2159-1-git-send-email-mypopydev@gmail.com> Subject: [FFmpeg-devel] [PATCH 2/3] doc/examples/filtering_video: Remove setting deprecated refcounted_frames X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <http://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <http://ffmpeg.org/pipermail/ffmpeg-devel/> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <http://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Jun Zhao <mypopydev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> |
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index ed4e7bb..38ff9bb 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -77,7 +77,6 @@ static int open_input_file(const char *filename) if (!dec_ctx) return AVERROR(ENOMEM); avcodec_parameters_to_context(dec_ctx, fmt_ctx->streams[video_stream_index]->codecpar); - av_opt_set_int(dec_ctx, "refcounted_frames", 1, 0); /* init the video decoder */ if ((ret = avcodec_open2(dec_ctx, dec, NULL)) < 0) {
When use new decode APIs(avcodec_send_packet/avcodec_receive_frame), don't need to setting the deprecated field refcounted_frames. Signed-off-by: Jun Zhao <mypopydev@gmail.com> --- doc/examples/filtering_video.c | 1 - 1 file changed, 1 deletion(-)