From 4f493659fd793f2c0191c56608d0e3e2757badf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 21 Dec 2023 23:25:00 +0200 Subject: [PATCH] configure: Fix linking d3d12va in UWP mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 69b755f274..18fe8eaa5c 100755 --- a/configure +++ b/configure @@ -3922,7 +3922,7 @@ swscale_suggest="libm stdatomic" avcodec_extralibs="pthreads_extralibs iconv_extralibs dxva2_extralibs lcms2_extralibs" avfilter_extralibs="pthreads_extralibs" -avutil_extralibs="d3d11va_extralibs mediacodec_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vaapi_win32_extralibs vdpau_x11_extralibs" +avutil_extralibs="d3d11va_extralibs d3d12va_extralibs mediacodec_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vaapi_win32_extralibs vdpau_x11_extralibs" # programs ffmpeg_deps="avcodec avfilter avformat threads" @@ -7123,6 +7123,7 @@ if enabled uwp; then # try to load these APIs at runtime, like we do in regular desktop mode - # therefore, we need to link directly against these APIs. d3d11va_extralibs="-ldxgi -ld3d11" + d3d12va_extralibs="-ldxgi -ld3d12" vaapi_win32_extralibs="-ldxgi" mediafoundation_extralibs="-lmfplat $mediafoundation_extralibs" fi