From b1639ee561c7d62a8797bf8700bbec563e78d0c9 Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Thu, 26 May 2022 15:49:26 -0400 Subject: vo: allow vaapi_wayland and vaapi_x11 to coexist --- video/out/vo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'video/out') diff --git a/video/out/vo.c b/video/out/vo.c index 6b38711acf..a689e85eb3 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -93,9 +93,10 @@ const struct vo_driver *const video_out_drivers[] = #if HAVE_SDL2_VIDEO &video_out_sdl, #endif -#if HAVE_VAAPI_WAYLAND +#if HAVE_VAAPI_WAYLAND && HAVE_MEMFD_CREATE &video_out_vaapi_wayland, -#elif HAVE_VAAPI_X11 && HAVE_GPL +#endif +#if HAVE_VAAPI_X11 && HAVE_GPL &video_out_vaapi, #endif #if HAVE_X11 -- cgit v1.2.3