summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-17 00:15:14 +0100
committerwm4 <wm4@nowhere>2014-01-17 00:15:14 +0100
commit7e1bc6be000c1febb996b48ae2559a241e2ab993 (patch)
tree7caa0e121896c870d1c5060e8791047a0f3c5839 /stream
parentd3b56435896d5fde202f56214e3ea3c2e153465d (diff)
downloadmpv-7e1bc6be000c1febb996b48ae2559a241e2ab993.tar.bz2
mpv-7e1bc6be000c1febb996b48ae2559a241e2ab993.tar.xz
cache: remove debug code
This was accidentally committed. <rcombs> `mp_sleep_us(100000);` <-- are you drunk?
Diffstat (limited to 'stream')
-rw-r--r--stream/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/cache.c b/stream/cache.c
index 0fd9585eaa..d96f46daaf 100644
--- a/stream/cache.c
+++ b/stream/cache.c
@@ -269,7 +269,6 @@ static bool cache_fill(struct priv *s)
// The read call might take a long time and block, so drop the lock.
pthread_mutex_unlock(&s->mutex);
len = stream_read_partial(s->stream, &s->buffer[pos], space);
- mp_sleep_us(100000);
pthread_mutex_lock(&s->mutex);
double pts;