summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-08-27 13:06:38 -0700
committerwm4 <1387750+wm4@users.noreply.github.com>2019-10-17 12:26:22 +0200
commit2fcd5271eb045e235c281faa73d8676c4bcea4b3 (patch)
tree5dabb540d1c23853c9ac95041fe292d7e9d625c2 /video/out/vo.c
parente49db40382e0aa80d92c8ec4b5b8dc609f51819b (diff)
downloadmpv-2fcd5271eb045e235c281faa73d8676c4bcea4b3.tar.bz2
mpv-2fcd5271eb045e235c281faa73d8676c4bcea4b3.tar.xz
Reintroduce vo_wayland as vo_wlshm
vo_wayland was removed during the wayland rewrite done in 0.28. However, it is still useful for systems that do not have OpenGL. The new wayland_common code makes vo_wayland much simpler, and eliminates many of the issues the previous vo_wayland had.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 53db20d3b4..545ff8bf0c 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -60,6 +60,7 @@ extern const struct vo_driver video_out_drm;
extern const struct vo_driver video_out_direct3d;
extern const struct vo_driver video_out_sdl;
extern const struct vo_driver video_out_vaapi;
+extern const struct vo_driver video_out_wlshm;
extern const struct vo_driver video_out_rpi;
extern const struct vo_driver video_out_tct;
@@ -76,6 +77,9 @@ const struct vo_driver *const video_out_drivers[] =
#if HAVE_DIRECT3D
&video_out_direct3d,
#endif
+#if HAVE_WAYLAND
+ &video_out_wlshm,
+#endif
#if HAVE_XV
&video_out_xv,
#endif