mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
build: configure: disable GLX if libva-x11 is not found
This commit is contained in:
parent
3c86fd12cb
commit
43542a50ab
1 changed files with 4 additions and 1 deletions
|
@ -522,7 +522,10 @@ fi
|
|||
dnl VA/X11 API
|
||||
if test $USE_X11 -eq 1; then
|
||||
PKG_CHECK_MODULES(LIBVA_X11, [libva-x11 >= $VAAPI_REQ],
|
||||
[], [USE_X11=0])
|
||||
[], [
|
||||
USE_X11=0
|
||||
USE_GLX=0
|
||||
])
|
||||
fi
|
||||
|
||||
dnl Check for encoding support
|
||||
|
|
Loading…
Reference in a new issue