diff options
author | wm4 <wm4@nowhere> | 2014-08-10 13:08:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-10 13:24:29 +0200 |
commit | f5257e2c7d451accf0b912114b010c9aaf634659 (patch) | |
tree | a2b808311d826faaf7b0a874b51cab2e8d4d29a0 /video/out | |
parent | 2a403092cd911cc9abcc091dd3d6da8a256ee08a (diff) | |
download | mpv-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.c | 2 |
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; } |