[FFmpeg-cvslog] Error out if vaapi is not found

Luca Barbato git at videolan.org
Wed Apr 13 02:57:45 CEST 2011


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Apr  4 15:24:19 2011 +0200| [f3e3f28e802a108120a1244744ddc1689d26be7a] | committer: Anton Khirnov

Error out if vaapi is not found

Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3e3f28e802a108120a1244744ddc1689d26be7a
---

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index c632ce5..32c3544 100755
--- a/configure
+++ b/configure
@@ -2840,7 +2840,7 @@ for thread in $THREADS_LIST; do
 done
 
 check_lib math.h sin -lm
-disabled vaapi || check_lib va/va.h vaInitialize -lva
+enabled vaapi && require vaapi va/va.h vaInitialize -lva
 
 check_mathfunc exp2
 check_mathfunc exp2f



More information about the ffmpeg-cvslog mailing list