From patchwork Thu Dec 7 09:31:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyan X-Patchwork-Id: 6580 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.94 with SMTP id m30csp8048644jah; Thu, 7 Dec 2017 01:32:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMYaEbYPY8O72DkKyTXYx+u1o3AsCkzoijsZeUUF+kMtNdnhIN1pgG+0kznldlO/8LjIO3BR X-Received: by 10.223.135.1 with SMTP id a1mr23706667wra.50.1512639135965; Thu, 07 Dec 2017 01:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512639135; cv=none; d=google.com; s=arc-20160816; b=nUJoV7iYlEAaj7DeklGH/KRiH1Wg+KrifL3lN9x971RNpbiUcoiLxMToAs5MaGdATL sxhUj7XJR8GspIkQz93toZekVgnj4Ub3z6vlWJjnFfDPY5KHExtmjulURqTRQtCeizb7 TiZ8iriL/rgY349dSbnbBawUkcWgi91Q/DQTdCBj8LE5D4COrMsLZIdvCIwDTPB1MMfa dzb83jYGASetSeu2rcuGoNGi4LYCYiX0ABCPsh5THTitbmiOgmLSA3g5nxx8AjbQrAzG mSorWs4an8kYGYDx5LhJrgeoSajwAYgk9wCtiRPuH7bjrmJWaF+q15AfCGDGwfxOY3Og rPpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:dkim-signature:delivered-to :arc-authentication-results; bh=WvVWFU4HvOe2vbIaUy++nsAb5h7Al8SBUbjc8h44eR0=; b=BWaBuhhQAktHfagj7WA8KmsRwG2BPACcWb0qqK77auo4YODEvla/xqTgsjJiqaPTG2 5ucYdgD0vvL9AKAQMoPD/XdUrZ09dG13ovnCU4MN3EFnAC6dIU5qKVODO5j3v+XrhUs8 wLg1Qj6tVuv6+ua9WbKyIn5CblbVHSPoaPETS7WU/KfS+9ZnQ7nxUtRauQT+jr9d7aEb r+oAbT3/NF4GYDdPmP2YnlktGjvGRYFuwmeBY3xfSd3bDw2uKvfPt6BgSQZghfUw7Q3v YARwU74qlsfr/+cC5FCCFLiosTu56OfVEPFwOY/4a7KBkAzkANEis0opQcunRPgISCUw lljw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WnYA4XtC; 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=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p12si3235100wmh.135.2017.12.07.01.32.15; Thu, 07 Dec 2017 01:32:15 -0800 (PST) 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=WnYA4XtC; 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=NONE 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 9306868A31B; Thu, 7 Dec 2017 11:32:02 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 018EC68A15B for ; Thu, 7 Dec 2017 11:31:56 +0200 (EET) Received: by mail-it0-f51.google.com with SMTP id t1so13269289ite.5 for ; Thu, 07 Dec 2017 01:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=x+LSiT28b9eeRGdZUZUWM5q6Wc9pMm49rU4HO4g6h+c=; b=WnYA4XtC3/2SZ4sYCyuI4qzfAUQs68SHJHR9DSJg6r51RJM6KZov/GcuAZEIXgrMmb Jav/6JXxr2POy9Lzm6lbCYUkoICSk740lXl61XXUdvFZBNH/QGnYc6S8SSU+epqcAImW jpAagEjHpVecPz6fA8Lo6BEY5j1hkmBpO1+ugzPw+G+sx2RPyhEQySgvkIwMSZ3dORdS JOaY7U1U+OK1qRITVW7duPe2Ht1VLaRCYv09UcUPTirpvaYLrY9y9ScFFTV8ukah5COx iSbnJhTfYznLl5dl/mqKKhGTEatevMS056u9JnmjgV0FpTMwldmC3iX/y5Nu1t9qvXS6 ezUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=x+LSiT28b9eeRGdZUZUWM5q6Wc9pMm49rU4HO4g6h+c=; b=Qp7CV7EnfYpo3F6RRJKjJ+7zaSurSgv0nJ7kKo1HH7dXSkVZSb4KpM8e4QPGMQC+iX /XnekL3U8KsY1zzLfj3Rtf+FhMHWWCsBPBEGMTjr+s3gYx5aO1n5KhIq9HCC5D5nzw9O nsRR1Czd133ijGtYj+c1KM8mTvZSp64MQWjXq9i2i4FudUwwSJTYI8GbOJupdNqp96Cv 2IJVk8HIwMxF8ZYTP96xqi0v2Xif/+lfUDAZl21BLnNtDxLAI/Kz4cNRE0+0HA3OESZa amRInICdS6wbbyrpA143/+y3cqsJG/5eFzkPUNd2MOsbtp4c+UCpyjo66b6VYIGvDubf JdOg== X-Gm-Message-State: AKGB3mJ8a58My/E/5dpqSpRoMuef/YDCcEcbr/AsB81TTbwqp2Nsazbc CPI0zbHr563bD9Zw0U6q0D/OicFE X-Received: by 10.36.101.140 with SMTP id u134mr578539itb.108.1512639120111; Thu, 07 Dec 2017 01:32:00 -0800 (PST) Received: from [192.168.1.105] ([103.206.133.250]) by smtp.gmail.com with ESMTPSA id w75sm2271625iod.66.2017.12.07.01.31.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 01:31:59 -0800 (PST) To: ffmpeg-devel@ffmpeg.org References: <84af1ea3-5444-fad8-75ae-6fea4b3e6163@gmail.com> <20171130104911.GI30903@golem.pkh.me> <5a7c108f-de10-31b3-9065-f78f9fb4452b@noa-archive.com> From: Gyan Doshi Message-ID: <823a8c34-4768-67e9-28cb-eee0a2e009bb@gmail.com> Date: Thu, 7 Dec 2017 15:01:50 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <5a7c108f-de10-31b3-9065-f78f9fb4452b@noa-archive.com> Content-Language: en-US Subject: Re: [FFmpeg-devel] [PATCH] configure: Allow users to disable all hwaccel libraries 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On 12/7/2017 12:59 PM, Tobias Rapp wrote: > > Why not add the HWACCEL_AUTODETECT_LIBRARY_LIST to --disable-hwaccels? That is a better choice but there wasn't a bespoke case for '--disable-hwaccels', so originally ignored that possibility. Added it in attached (new) patch. Either one - this or original patch - works for me. Regards, Gyan From f5c02c73ad3560a2173611ec1e76a460cf70d944 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 7 Dec 2017 14:44:01 +0530 Subject: [PATCH] configure - extend disable_hwaccels to disable autodetected hwaccel libs --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d05388638d..77812759fd 100755 --- a/configure +++ b/configure @@ -159,7 +159,7 @@ Individual component options: --disable-decoders disable all decoders --disable-hwaccel=NAME disable hwaccel NAME --enable-hwaccel=NAME enable hwaccel NAME - --disable-hwaccels disable all hwaccels + --disable-hwaccels disable all hwaccels and autodetected hwaccel libs --disable-muxer=NAME disable muxer NAME --enable-muxer=NAME enable muxer NAME --disable-muxers disable all muxers @@ -3630,6 +3630,9 @@ for opt do --extra-libs=*) add_extralibs $optval ;; + --disable-hwaccels) + disable $HWACCEL_LIST $HWACCEL_AUTODETECT_LIBRARY_LIST + ;; --disable-devices) disable $INDEV_LIST $OUTDEV_LIST ;;