vo_sdl: put on do not use stamp

It seems some users try to use it (!). This VO was always an experiment,
and intended for low power devices. Whether this experiment succeeded or
not, it's a rather obscure VO. Recently I've seen a regrettable user,
who seemed to use this only because mpv was built without x11 support
(!). Add this warning, like other fallback VOs have it. (The message was
copied from vo_x11.)
This commit is contained in:
wm4 2019-10-25 21:58:51 +02:00
parent 4a82349900
commit 9471077efd
1 changed files with 3 additions and 0 deletions

View File

@ -809,6 +809,9 @@ static int preinit(struct vo *vo)
if (vc->wakeup_event == (Uint32)-1)
MP_ERR(vo, "SDL_RegisterEvents() failed.\n");
MP_WARN(vo, "Warning: this legacy VO has bad performance. Consider fixing "
"your graphics drivers, or not forcing the sdl VO.\n");
return 0;
}