summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
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;