summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-17 00:15:14 +0100
committerwm4 <wm4@nowhere>2014-01-31 19:03:17 +0100
commita9bafeb589e7aa88e0b112e839e1168d343c17bf (patch)
tree6471a0c18d6cdf5992c5a3d2dbdb42b321c86f2c
parent3a33db3d92a28d680ed9553531bacbb0d1329797 (diff)
downloadmpv-a9bafeb589e7aa88e0b112e839e1168d343c17bf.tar.bz2
mpv-a9bafeb589e7aa88e0b112e839e1168d343c17bf.tar.xz
cache: remove debug code
This was accidentally committed. <rcombs> `mp_sleep_us(100000);` <-- are you drunk?
-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;