[vlc-commits] commit: libva-enabled avcodec needs X11 ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun Jul 25 10:19:46 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 25 11:18:34 2010 +0300| [b4bf94e06761276859f4a1f36c303269fb7035fd] | committer: Rémi Denis-Courmont 

libva-enabled avcodec needs X11

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

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

diff --git a/configure.ac b/configure.ac
index 6a64f83..9099ca8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2660,8 +2660,8 @@ AS_IF([test "${enable_libva}" != "no"], [
         CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
         CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
         AC_CHECK_HEADERS(libavcodec/vaapi.h, [
-           VLC_ADD_LIBS([avcodec],[$LIBVA_LIBS])
-           VLC_ADD_CFLAGS([avcodec],[$LIBVA_CFLAGS])
+           VLC_ADD_LIBS([avcodec],[$LIBVA_LIBS ${X_LIBS} ${X_PRE_LIBS} -lX11])
+           VLC_ADD_CFLAGS([avcodec],[$LIBVA_CFLAGS ${X_CFLAGS}])
            AC_DEFINE(HAVE_AVCODEC_VAAPI, 1, [Define if avcodec has to be built with VAAPI support.])
            echo "VAAPI acceleration activated"
         ],[



More information about the vlc-commits mailing list