0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vo_sdl: fix redrawing issue

vo_sdl.c has broken event handling and just polls. The polling time was
quite low, so the playloop OSD redrawing heuristic inhibited redraws,
which made the window appear frozen when paused.
This commit is contained in:
wm4 2014-08-10 13:08:01 +02:00
parent 2a403092cd
commit f5257e2c7d

View File

@ -825,7 +825,7 @@ static int preinit(struct vo *vo)
vc->reinit_renderer = true;
// we don't have proper event handling
vo->wakeup_period = 0.02;
vo->wakeup_period = 0.2;
return 0;
}