From patchwork Sat Nov 12 01:02:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hendrik Leppkes X-Patchwork-Id: 1393 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.90.1 with SMTP id o1csp48705vsb; Fri, 11 Nov 2016 17:02:41 -0800 (PST) X-Received: by 10.28.105.81 with SMTP id e78mr622646wmc.140.1478912561343; Fri, 11 Nov 2016 17:02:41 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id ju1si13342845wjc.128.2016.11.11.17.02.41; Fri, 11 Nov 2016 17:02:41 -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; 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 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 5DF2F689F9E; Sat, 12 Nov 2016 03:02:39 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BD0D3689F6E for ; Sat, 12 Nov 2016 03:02:32 +0200 (EET) Received: by mail-wm0-f66.google.com with SMTP id a20so855615wme.2 for ; Fri, 11 Nov 2016 17:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=QC6gYW8I1isQI5urqzqKbFDwJaCFKhlEv7wHJFfmy+k=; b=BY8aPo3pdJHwkWM2Qa3RSyoD40RPQHTJBBh38AnURsyZTXCGXvjqwwO5VAL4gtINE5 UKWz9+rFUSDsZs2ENFKPxGgJ+/S/rEfXlUam5nQ7rc51h/ByH+2h31iz4Kp7icdOuFAq R/NxOroxQ0nnrzFboeZfNJwBVp/f1DkDZ/q2me6Y0BAqrPRdEMCJM4KmJFOSKRn/+HAJ PHYV0ZuEXjVLHmDPdCDeJTANEl6m3bPgz4Ke2iKh8uFY017QPAwtbrye4NawjDeS4QAp mEsZAMboGOiimVzouYcCkMAB9Dnx+Pa9+eukILSYaX2si8t48SrdcJCJ1H37uStW1qeO IsnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=QC6gYW8I1isQI5urqzqKbFDwJaCFKhlEv7wHJFfmy+k=; b=loP8wxCLoNasXEf2BcUhgjc9t/vkwMZVrrHXMGMBW9dvVOxHmWono8TNlkbzX5phPV E/7fIgL5Ti2ym8s4gUAHYBuA3scBvY/1FugAOMQKeRPgypd1OxzuC/Xd2bAwpVsrDZKq dN0qdx6nyW1/f3/91iJG3J4H4xXWttAJahgYm6zhhIDUP2Ys8LJ1VwjiZi/dYtT8qxf+ vJQeNn2x99v51IYXJtHhfqjxYkdLv0cZVBp46CliO5gXX9PocjKIZqwnRk7Fj+FBv1N8 ewYKb0mpF/PNDBzV2TBs5xOhoSg5cOYx/EJrFoqpEZYnbXkyS9sT8fr1fmjxg8M4U3KI AxkA== X-Gm-Message-State: ABUngvcJ9gNqnohSOwzUmF8uN/UZLYlbLQpRcck32pACalelay1qX6ZkCmqhsRWGrh3fFA== X-Received: by 10.194.95.131 with SMTP id dk3mr10864738wjb.207.1478912552069; Fri, 11 Nov 2016 17:02:32 -0800 (PST) Received: from localhost (p5DC19DBD.dip0.t-ipconnect.de. [93.193.157.189]) by smtp.gmail.com with ESMTPSA id ba10sm14194057wjb.32.2016.11.11.17.02.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Nov 2016 17:02:31 -0800 (PST) From: Hendrik Leppkes To: ffmpeg-devel@ffmpeg.org Date: Sat, 12 Nov 2016 02:02:29 +0100 Message-Id: <20161112010229.12592-1-h.leppkes@gmail.com> X-Mailer: git-send-email 2.10.1.windows.1 Subject: [FFmpeg-devel] [PATCH] configure: properly add dxva2 link dependencies 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Fixes building with --disable-everything --enable-shared --enable-dxva2 The hwcontext DXVA2 implementation in avutil needs this library now, instead of just the ffmpeg program. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c00c591..b55bbd9 100755 --- a/configure +++ b/configure @@ -2539,6 +2539,7 @@ crystalhd_deps="libcrystalhd_libcrystalhd_if_h" cuvid_deps="cuda" d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder ID3D11VideoContext" dxva2_deps="dxva2api_h DXVA2_ConfigPictureDecode" +dxva2_extralibs="-luser32" vaapi_deps="va_va_h" vda_framework_deps="VideoDecodeAcceleration_VDADecoder_h" vda_framework_extralibs="-framework VideoDecodeAcceleration" @@ -6317,7 +6318,7 @@ if test $target_os = "haiku"; then fi enabled_all dxva2 dxva2api_cobj CoTaskMemFree && - prepend ffmpeg_libs $($ldflags_filter "-lole32" "-luser32") && + prepend ffmpeg_libs $($ldflags_filter "-lole32") && enable dxva2_lib ! enabled_any memalign posix_memalign aligned_malloc &&