Commit 558ced38 authored by Jean-Paul Saman's avatar Jean-Paul Saman

VAAPI-X11: actually build the module

Add AC_DEFINE() for HAVE_XCB to actually build the video_output.
parent 880303b7
......@@ -3185,8 +3185,10 @@ AS_IF([test "${enable_xcb}" != "no"], [
dnl avcodec (vaapi-x11)
AS_IF([test "${enable_libva}" != "no"], [
AS_IF([test "${have_avcodec}" != "no"], [
VLC_ADD_CFLAGS([avcodec], [${XCB_CFLAGS}])
VLC_ADD_LIBS([avcodec], [${XCB_LIBS}])
PKG_CHECK_MODULES(XLIB_XCB, [x11-xcb])
VLC_ADD_CFLAGS([avcodec], [${XLIB_XCB_CFLAGS} ${XCB_CFLAGS}])
VLC_ADD_LIBS([avcodec], [${XLIB_XCB_LIBS} ${XCB_LIBS}])
AC_DEFINE(HAVE_XCB, 1, [Define if avcodec has to be built with XCB support.])
])
])
])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment