mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user