diff options
author | wm4 <wm4@nowhere> | 2019-10-25 21:58:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-25 21:58:51 +0200 |
commit | 9471077efd5ef43e6613bf003198d76a1120b29b (patch) | |
tree | b0174551b6e2f896bfd4adb10ad90f053a42f057 /video/out/vo_sdl.c | |
parent | 4a823499002f3e6c9c7ceb781f0e4933cbfb9b24 (diff) | |
download | mpv-9471077efd5ef43e6613bf003198d76a1120b29b.tar.bz2 mpv-9471077efd5ef43e6613bf003198d76a1120b29b.tar.xz |
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.)
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index 7c15b8ef11..bd7e024585 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -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; } |