aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-03-06 19:22:15 +0100
committerGravatar wm4 <wm4@nowhere>2016-03-06 19:22:15 +0100
commitead73032affc77051f785bf0ecca403d6d7b09d3 (patch)
tree17b107aa48a3f2db4ae1ab255d1f82ac76ac38b7
parent05b2cd08dcaddb9ea6224f3ad3a32e1d967d0a98 (diff)
vo_xv, vo_x11: warn that these VOs should not be used
-rw-r--r--video/out/vo_x11.c2
-rw-r--r--video/out/vo_xv.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 28262231ac..7676155ead 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -407,6 +407,8 @@ static int preinit(struct vo *vo)
goto error;
p->gc = XCreateGC(x11->display, x11->window, 0, NULL);
+ MP_WARN(vo, "Warning: this legacy VO has bad performance. Consider fixing"
+ "your graphic drivers, or not forcing the x11 VO.\n");
return 0;
error:
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index ad40fd8376..e02ea2d046 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -843,6 +843,9 @@ static int preinit(struct vo *vo)
ctx->fo = XvListImageFormats(x11->display, ctx->xv_port,
(int *) &ctx->formats);
+ MP_WARN(vo, "Warning: this legacy VO has bad quality and performance, "
+ "and will in particular result in blurry OSD and subtitles. "
+ "You should fix your graphic drivers, or not force the xv VO.\n");
return 0;
error: