summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-12 19:58:06 +0200
committerwm4 <wm4@nowhere>2016-09-12 20:05:48 +0200
commit0e72f64ff46747d4b1399d6cb7803e3f675d047c (patch)
tree8b4c47895780861d96754da7f6bdc6776ec58709 /video
parent876ec446f3863ec2a92c516b1f6d35137b66c005 (diff)
downloadmpv-0e72f64ff46747d4b1399d6cb7803e3f675d047c.tar.bz2
mpv-0e72f64ff46747d4b1399d6cb7803e3f675d047c.tar.xz
vo_rpi: deprecate this VO
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c6
-rw-r--r--video/out/vo_rpi.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 2ad57eff7f..8c66b0dab3 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -62,9 +62,6 @@ extern const struct vo_driver video_out_rpi;
const struct vo_driver *const video_out_drivers[] =
{
-#if HAVE_RPI
- &video_out_rpi,
-#endif
#if HAVE_GL
&video_out_opengl,
#endif
@@ -104,6 +101,9 @@ const struct vo_driver *const video_out_drivers[] =
#if HAVE_GL
&video_out_opengl_cb,
#endif
+#if HAVE_RPI
+ &video_out_rpi,
+#endif
NULL
};
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c
index 9a1280584c..de5a8bf5e1 100644
--- a/video/out/vo_rpi.c
+++ b/video/out/vo_rpi.c
@@ -740,6 +740,9 @@ static void uninit(struct vo *vo)
static int preinit(struct vo *vo)
{
+ MP_WARN(vo, "This VO is deprecated! Use --vo=opengl instead (which has "
+ "the same features and which is the default).\n");
+
struct priv *p = vo->priv;
p->background_layer = p->layer;