aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/vo_sdl.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-08-10 13:08:01 +0200
committerGravatar wm4 <wm4@nowhere>2014-08-10 13:24:29 +0200
commitf5257e2c7d451accf0b912114b010c9aaf634659 (patch)
treea2b808311d826faaf7b0a874b51cab2e8d4d29a0 /video/out/vo_sdl.c
parent2a403092cd911cc9abcc091dd3d6da8a256ee08a (diff)
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/vo_sdl.c')
-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;
}