mirror of
https://github.com/mpv-player/mpv
synced 2025-02-11 15:24:30 +01:00
usec_sleep(0) is not the same as not sleeping at all.
Fixes massive slowdown on Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26718 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
87836bc7c8
commit
dd73597f8c
@ -1215,7 +1215,7 @@ static mp_cmd_t *read_events(int time, int paused)
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (!got_cmd)
|
||||
if (!got_cmd && time)
|
||||
usec_sleep(time * 1000);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user