[FFmpeg-cvslog] configure: Fix linking d3d12va in UWP mode

Martin Storsjö git at videolan.org
Fri Dec 22 12:04:36 EET 2023


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Dec 21 23:25:00 2023 +0200| [4f493659fd793f2c0191c56608d0e3e2757badf4] | committer: Martin Storsjö

configure: Fix linking d3d12va in UWP mode

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f493659fd793f2c0191c56608d0e3e2757badf4
---

 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



More information about the ffmpeg-cvslog mailing list