summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-07-19 13:44:58 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2022-07-19 13:57:38 +0200
commit926f355aff8fdf0a077d948e961f79d2c5daf58e (patch)
tree8e8f2c8336c64cef9547a3b4ddff303bdeb7ab14 /configure
parentecd0a7c5bd105367e8c16c2d59648b96efccec18 (diff)
avfilter/vsrc_ddagrab: check for existence of DPI_AWARENESS_CONTEXT
Apparently some (broken?) Windows SDK versions define IDXGIOutput5 but not DPI_AWARENESS_CONTEXT. So we need to explicitly check for its existence.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 91444cdc53..4888792015 100755
--- a/configure
+++ b/configure
@@ -2352,6 +2352,7 @@ TOOLCHAIN_FEATURES="
"
TYPES_LIST="
+ DPI_AWARENESS_CONTEXT
IDXGIOutput5
kCMVideoCodecType_HEVC
kCMVideoCodecType_HEVCWithAlpha
@@ -6398,6 +6399,7 @@ check_type "windows.h dxgi1_2.h" "IDXGIOutput1"
check_type "windows.h dxgi1_5.h" "IDXGIOutput5"
check_type "windows.h d3d11.h" "ID3D11VideoDecoder"
check_type "windows.h d3d11.h" "ID3D11VideoContext"
+check_type "windows.h" "DPI_AWARENESS_CONTEXT" -D_WIN32_WINNT=0x0A00
check_type "d3d9.h dxva2api.h" DXVA2_ConfigPictureDecode -D_WIN32_WINNT=0x0602
check_func_headers mfapi.h MFCreateAlignedMemoryBuffer -lmfplat