aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-01-25 01:34:48 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-01-25 01:34:48 +0000
commit9104cd5161ec7cb31361f3dabd73a8a813d4f7d0 (patch)
tree90bbeb2b617eb21508da78719c951a814fb71ca4 /configure
parent6023d84a2b7aa6d5f02de91541c514c36e553de0 (diff)
downloadffmpeg-9104cd5161ec7cb31361f3dabd73a8a813d4f7d0.tar.gz
Check if dxva2api.h is recent enough to compile vc1_dxva2_hwaccel.
Originally committed as revision 21444 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 987c6b3faf..3ee73841c6 100755
--- a/configure
+++ b/configure
@@ -1234,7 +1234,7 @@ tiff_encoder_suggest="zlib"
truehd_decoder_select="mlp_decoder"
tscc_decoder_select="zlib"
vc1_decoder_select="h263_decoder"
-vc1_dxva2_hwaccel_deps="dxva2api_h"
+vc1_dxva2_hwaccel_deps="dxva2api_h DXVA_PictureParameters_wDecodedPictureIndex"
vc1_dxva2_hwaccel_select="dxva2 vc1_decoder"
vc1_vaapi_hwaccel_deps="va_va_h"
vc1_vaapi_hwaccel_select="vaapi vc1_decoder"
@@ -2425,6 +2425,8 @@ check_header vdpau/vdpau.h
check_header vdpau/vdpau_x11.h
check_header X11/extensions/XvMClib.h
+check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
+
if ! enabled_any memalign memalign_hack posix_memalign malloc_aligned &&
enabled_any $need_memalign ; then
die "Error, no aligned memory allocator but SSE enabled, disable it or use --enable-memalign-hack."