mirror of https://github.com/mpv-player/mpv
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:
parent
2a403092cd
commit
f5257e2c7d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue