diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-26 00:14:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-26 01:51:33 +0200 |
commit | a838b22bd9f75028cdfb55bf9b322b3f3544421b (patch) | |
tree | 36ce6951448bda1a71fa4f1f5c21f7d26dd213e6 /configure | |
parent | 5bc2c395273e020fc255a644196f0fc7c8e5ed83 (diff) | |
download | ffmpeg-a838b22bd9f75028cdfb55bf9b322b3f3544421b.tar.gz |
configure: Check if ID3D11VideoDecoder exists, not just the header to enable d3d11va
Fixes build with "mingw-w64-x86-64-dev 3.2.0-2"
Tested-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1815,6 +1815,7 @@ TOOLCHAIN_FEATURES=" TYPES_LIST=" CONDITION_VARIABLE_Ptr DXVA_PicParams_HEVC + ID3D11VideoDecoder socklen_t struct_addrinfo struct_group_source_req @@ -2319,7 +2320,7 @@ zmbv_encoder_select="zlib" # hardware accelerators crystalhd_deps="libcrystalhd_libcrystalhd_if_h" -d3d11va_deps="d3d11_h dxva_h" +d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder" dxva2_deps="dxva2api_h" vaapi_deps="va_va_h" vda_deps="VideoDecodeAcceleration_VDADecoder_h pthreads" @@ -4992,6 +4993,7 @@ check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss check_type "windows.h dxva.h" "DXVA_PicParams_HEVC" +check_type "windows.h d3d11.h" "ID3D11VideoDecoder" if ! disabled w32threads && ! enabled pthreads; then check_func_headers "windows.h process.h" _beginthreadex && |