diff options
author | Martin Storsjö <martin@martin.st> | 2017-06-09 12:05:00 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-06-18 23:45:03 +0300 |
commit | fd1ffa1f10e940165035ccb79d4a6523da196062 (patch) | |
tree | 25c91a5cdec7b4050e7865650f129ae751489cd0 /configure | |
parent | c2b0bea40f1fd4399ff6184a2df4f397c0f4b3ab (diff) | |
download | ffmpeg-streaming-fd1ffa1f10e940165035ccb79d4a6523da196062.zip ffmpeg-streaming-fd1ffa1f10e940165035ccb79d4a6523da196062.tar.gz |
d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable
When targeting the UWP API subset, the LoadLibrary function is not
available (and the fallback, LoadPackagedLibrary, can't be used to
load system DLLs). In these cases, link directly to the functions
in the DLLs instead of trying to load them dynamically at runtime.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4876,6 +4876,10 @@ if enabled libxcb; then check_pkg_config libxcb_xfixes xcb-xfixes xcb/xfixes.h xcb_xfixes_get_cursor_image fi +# d3d11va requires linking directly to dxgi and d3d11 if not building for +# the desktop api partition +enabled LoadLibrary || d3d11va_extralibs="-ldxgi -ld3d11" + enabled vaapi && require vaapi va/va.h vaInitialize -lva enabled vaapi && |