From f5257e2c7d451accf0b912114b010c9aaf634659 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 10 Aug 2014 13:08:01 +0200 Subject: 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. --- video/out/vo_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3