vo_xv, vo_x11: warn that these VOs should not be used

This commit is contained in:
wm4 2016-03-06 19:22:15 +01:00
parent 05b2cd08dc
commit ead73032af
2 changed files with 5 additions and 0 deletions

View File

@ -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:

View File

@ -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: