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
1 changed files with 1 additions and 1 deletions

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;
}