diff options
author | wm4 <wm4@nowhere> | 2013-05-25 19:56:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-26 16:44:20 +0200 |
commit | f44a242258c282eb1407899a64571c39d010285b (patch) | |
tree | 0582ab64904258650db3f8631ee8628b8745cf8e /stream/cache2.c | |
parent | e56d8a200d900066c3da571d92733f66ce6a13ab (diff) | |
download | mpv-f44a242258c282eb1407899a64571c39d010285b.tar.bz2 mpv-f44a242258c282eb1407899a64571c39d010285b.tar.xz |
Replace calls to usec_sleep()
This is just dumb sed replacement to mp_sleep_us().
Also remove the now unused usec_sleep() wrapper.
Diffstat (limited to 'stream/cache2.c')
-rw-r--r-- | stream/cache2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/cache2.c b/stream/cache2.c index 671bd85c53..302bf6ba17 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -441,9 +441,9 @@ static void cache_mainloop(cache_vars_t *s) { #endif if (sleep_count < INITIAL_FILL_USLEEP_COUNT) { sleep_count++; - usec_sleep(INITIAL_FILL_USLEEP_TIME); + mp_sleep_us(INITIAL_FILL_USLEEP_TIME); } else - usec_sleep(FILL_USLEEP_TIME); // idle + mp_sleep_us(FILL_USLEEP_TIME); // idle #if FORKED_CACHE sa.sa_handler = SIG_IGN; sigaction(SIGUSR1, &sa, NULL); |