Commit 9ac3417c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ff7ae4b9'

* commit 'ff7ae4b9':
  configure: Require LPDIRECT3DSURFACE9 for dxva2
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 14617e3a ff7ae4b9
......@@ -2336,7 +2336,7 @@ zmbv_encoder_select="zlib"
# hardware accelerators
crystalhd_deps="libcrystalhd_libcrystalhd_if_h"
d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder"
dxva2_deps="dxva2api_h"
dxva2_deps="dxva2api_h LPDIRECT3DSURFACE9"
vaapi_deps="va_va_h"
vda_deps="VideoDecodeAcceleration_VDADecoder_h pthreads"
vda_extralibs="-framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore"
......@@ -5034,6 +5034,7 @@ 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"
check_type d3d9.h LPDIRECT3DSURFACE9
if ! disabled w32threads && ! enabled pthreads; then
check_func_headers "windows.h process.h" _beginthreadex &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment