diff options
author | Aaron Boxer <boxerab@protonmail.com> | 2022-05-26 15:49:26 -0400 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-05-30 19:51:46 +0000 |
commit | b1639ee561c7d62a8797bf8700bbec563e78d0c9 (patch) | |
tree | 9ca8bc245d91a406febddfbfa4292a4db8eb2946 /video/out | |
parent | afe29026edcb3104cd64764f79fe8630e3d37242 (diff) | |
download | mpv-b1639ee561c7d62a8797bf8700bbec563e78d0c9.tar.bz2 mpv-b1639ee561c7d62a8797bf8700bbec563e78d0c9.tar.xz |
vo: allow vaapi_wayland and vaapi_x11 to coexist
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |