summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-01 00:30:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-01 00:30:20 +0100
commite73b3dba3e8084eb7141c2a8e27fba4950f2ba60 (patch)
tree7801d9883ec0592c24b9a21264420efc58039387 /configure
parent2ab3088dda31103351eb839f2d53674dc2936a97 (diff)
parent990e4a6639d0714198583c2812b1074b5751898f (diff)
Merge commit '990e4a6639d0714198583c2812b1074b5751898f'
* commit '990e4a6639d0714198583c2812b1074b5751898f': Add a QSV decoding example. Conflicts: configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 122de6ea60..f121266b4f 100755
--- a/configure
+++ b/configure
@@ -1329,6 +1329,7 @@ EXAMPLE_LIST="
filtering_video_example
metadata_example
muxing_example
+ qsvdec_example
remuxing_example
resampling_audio_example
scaling_video_example
@@ -1838,6 +1839,7 @@ HAVE_LIST="
section_data_rel_ro
texi2html
threads
+ vaapi_x11
vdpau_x11
xlib
"
@@ -2654,6 +2656,7 @@ filtering_audio_example_deps="avfilter avcodec avformat avutil"
filtering_video_example_deps="avfilter avcodec avformat avutil"
metadata_example_deps="avformat avutil"
muxing_example_deps="avcodec avformat avutil swscale"
+qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder vaapi_x11"
remuxing_example_deps="avcodec avformat avutil"
resampling_audio_example_deps="avutil swresample"
scaling_video_example_deps="avutil swscale"
@@ -5134,6 +5137,10 @@ enabled vaapi &&
check_lib va/va.h vaInitialize -lva ||
disable vaapi
+enabled vaapi && enabled xlib &&
+ check_lib2 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 &&
+ enable vaapi_x11
+
enabled vdpau &&
check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
disable vdpau