From patchwork Thu Sep 22 12:00:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Rothenpieler X-Patchwork-Id: 679 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp1380313vsd; Thu, 22 Sep 2016 05:00:55 -0700 (PDT) X-Received: by 10.28.181.68 with SMTP id e65mr8077863wmf.132.1474545655749; Thu, 22 Sep 2016 05:00:55 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id c2si1467547wjd.229.2016.09.22.05.00.38; Thu, 22 Sep 2016 05:00:55 -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=@rothenpieler.org; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E0A1A689CFB; Thu, 22 Sep 2016 15:00:03 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from btbn.de (btbn.de [5.9.118.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 66F98689CC4 for ; Thu, 22 Sep 2016 14:59:57 +0300 (EEST) Received: from localhost.localdomain (ip4d1666ad.dynamic.kabel-deutschland.de [77.22.102.173]) by btbn.de (Postfix) with ESMTPSA id 40795327678; Thu, 22 Sep 2016 14:00:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rothenpieler.org; s=mail; t=1474545613; bh=9QZaIHdIkoGjajZsH6X/lulyOQxtCqQKrN34HTwxed4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=2Y9nDf+jdesr8j91+N0yBZWHmknHZCdoropIJMVuSlK/BO/6MCF9Ro2dkbgcEgmgU FlTtyxkw6bk28HB12OVnowyYYzjgbzsaDXKABjXjXK0ww+w5o9DoqWNiGPQuStMera WHj5/x0g/UcurNdeocaTkiqVXBOXemZ5onKThTOU= From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Sep 2016 14:00:05 +0200 Message-Id: <20160922120005.1083-3-timo@rothenpieler.org> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160922120005.1083-1-timo@rothenpieler.org> References: <20160922120005.1083-1-timo@rothenpieler.org> Subject: [FFmpeg-devel] [PATCH 3/3] avcodec/cuvid: mark as avoid for probing 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: Timo Rothenpieler MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavcodec/cuvid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c index db96ac6..c040b09 100644 --- a/libavcodec/cuvid.c +++ b/libavcodec/cuvid.c @@ -911,7 +911,7 @@ static const AVOption options[] = { .send_packet = cuvid_decode_packet, \ .receive_frame = cuvid_output_frame, \ .flush = cuvid_flush, \ - .capabilities = AV_CODEC_CAP_DELAY, \ + .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING, \ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_CUDA, \ AV_PIX_FMT_NV12, \ AV_PIX_FMT_NONE }, \