mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
vo_xv, vo_x11: warn that these VOs should not be used
This commit is contained in:
parent
05b2cd08dc
commit
ead73032af
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user