mirror of https://github.com/mpv-player/mpv
vo: allow vaapi_wayland and vaapi_x11 to coexist
This commit is contained in:
parent
afe29026ed
commit
b1639ee561
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue