From: Gwenole Beauchesne <[email protected]>

ffmpeg | branch: master | Gwenole Beauchesne <[email protected]> 
| Wed Mar 30 09:19:50 2011 +0200| [f9c215e260d62c1213ea4f241b01ba4c4cf1c7b7] | 
committer: Gwenole Beauchesne

vaapi: move configure check down.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f9c215e260d62c1213ea4f241b01ba4c4cf1c7b7
---
 configure |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index a0059a9..cfd6331 100755
--- a/configure
+++ b/configure
@@ -2832,7 +2832,6 @@ for thread in $THREADS_LIST; do
 done
 
 check_lib math.h sin -lm
-disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
 
 check_mathfunc exp2
 check_mathfunc exp2f
@@ -2931,6 +2930,8 @@ check_func XOpenDisplay -lX11           &&
 check_func XShmCreateImage -lX11 -lXext &&
 check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
 
+disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
+
 if ! disabled vdpau && enabled vdpau_vdpau_h; then
 check_cpp_condition \
     vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
-- 
1.7.0.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to