summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-30 21:00:37 +0200
committerwm4 <wm4@nowhere>2015-05-30 21:00:37 +0200
commita3f7b38cbc22f9eabdcc494deae7a4ab8b1add67 (patch)
tree0eeacb5051b86af2d9b4cd556caad63449384107 /video
parent47d841458dde8e0d0c9c94da70505a023a04c480 (diff)
downloadmpv-a3f7b38cbc22f9eabdcc494deae7a4ab8b1add67.tar.bz2
mpv-a3f7b38cbc22f9eabdcc494deae7a4ab8b1add67.tar.xz
vo: move up vo_wayland in autoprobe list
When running on Wayland, and vo_opengl is not available or rejected for some reason, it's better to use vo_wayland instead of e.g. vo_x11.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 82eb78ff6e..696f755cf8 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -80,6 +80,9 @@ const struct vo_driver *const video_out_drivers[] =
&video_out_direct3d_shaders,
&video_out_direct3d,
#endif
+#if HAVE_WAYLAND
+ &video_out_wayland,
+#endif
#if HAVE_XV
&video_out_xv,
#endif
@@ -108,9 +111,6 @@ const struct vo_driver *const video_out_drivers[] =
&video_out_opengl_hq,
&video_out_opengl_cb,
#endif
-#if HAVE_WAYLAND
- &video_out_wayland,
-#endif
NULL
};