vo: allow vaapi_wayland and vaapi_x11 to coexist

This commit is contained in:
Aaron Boxer 2022-05-26 15:49:26 -04:00 committed by Dudemanguy
parent afe29026ed
commit b1639ee561
1 changed files with 3 additions and 2 deletions

View File

@ -93,9 +93,10 @@ const struct vo_driver *const video_out_drivers[] =
#if HAVE_SDL2_VIDEO #if HAVE_SDL2_VIDEO
&video_out_sdl, &video_out_sdl,
#endif #endif
#if HAVE_VAAPI_WAYLAND #if HAVE_VAAPI_WAYLAND && HAVE_MEMFD_CREATE
&video_out_vaapi_wayland, &video_out_vaapi_wayland,
#elif HAVE_VAAPI_X11 && HAVE_GPL #endif
#if HAVE_VAAPI_X11 && HAVE_GPL
&video_out_vaapi, &video_out_vaapi,
#endif #endif
#if HAVE_X11 #if HAVE_X11