summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-10 13:08:01 +0200
committerwm4 <wm4@nowhere>2014-08-10 13:24:29 +0200
commitf5257e2c7d451accf0b912114b010c9aaf634659 (patch)
treea2b808311d826faaf7b0a874b51cab2e8d4d29a0 /video/out
parent2a403092cd911cc9abcc091dd3d6da8a256ee08a (diff)
downloadmpv-f5257e2c7d451accf0b912114b010c9aaf634659.tar.bz2
mpv-f5257e2c7d451accf0b912114b010c9aaf634659.tar.xz
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.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index 9b52fc08be..ee8e0d879a 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -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;
}