mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
build: let the build fail if none if X11, wayland or drm.
In fact, gst_vaapi_create_test_display only test x11, wayland and drm, no glx and egl entries. So if none of them is enabled, no vaapi element can be detected.
This commit is contained in:
parent
b7af4205aa
commit
3ff51a6e52
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ USE_WAYLAND = libva_wayland_dep.found() and wayland_client_dep.found() and wayla
|
|||
USE_X11 = libva_x11_dep.found() and x11_dep.found() and get_option('with_x11') != 'no'
|
||||
USE_GLX = libva_x11_dep.found() and x11_dep.found() and gl_dep.found() and libdl_dep.found() and get_option('with_glx') != 'no' and USE_X11
|
||||
|
||||
if not (USE_DRM or USE_X11 or USE_EGL or USE_GLX or USE_WAYLAND)
|
||||
if not (USE_DRM or USE_X11 or USE_WAYLAND)
|
||||
error('No renderer API found (it is requried either DRM, X11 and/or WAYLAND)')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue