1
0
Fork 0

configure: Fix linking d3d12va in UWP mode

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2023-12-21 23:25:00 +02:00
parent 6d04518788
commit 4f493659fd
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -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