Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-21 15:34:42 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-02-24 19:33:55 +0400
commitfdd392ed27d88a81bd9d86db6f234ab351ff3f98 (patch)
tree0f196fb24210a4a659099d196dcd5ea872ce6718 /configure
parent8cf9253aef19e0ef4523be253a8fa8853179cfb0 (diff)
configure: Simplify VDPAU header check
Conflicts: configure
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 460da67d4d..513e6a0e20 100755
--- a/configure
+++ b/configure
@@ -4031,10 +4031,9 @@ if ! disabled vaapi; then
} || disable vaapi
fi
-if ! disabled vdpau && enabled vdpau_vdpau_h; then
+enabled vdpau &&
check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
- { echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." && disable vdpau; }
-fi
+ disable vdpau
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
enabled coverage && add_cflags "-fprofile-arcs -ftest-coverage" && add_ldflags "-fprofile-arcs -ftest-coverage"