summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-18 21:11:45 +0100
committerwm4 <wm4@nowhere>2015-02-18 21:13:11 +0100
commit3f5b5b758dac511f500fdfd9ae85089cbfc31fde (patch)
tree595f3e77482763f12467715dabe4996a17464d41 /stream
parent102946ee0358924f22477435114785bd1f901ade (diff)
downloadmpv-3f5b5b758dac511f500fdfd9ae85089cbfc31fde.tar.bz2
mpv-3f5b5b758dac511f500fdfd9ae85089cbfc31fde.tar.xz
cache: silence "EOF reached" message
This message will be printed relatively often once EOF is reached. In some cases this is rather annoying, for example when playing HLS. (With HLS, the stream is just a playlist file, while libavformat opens actual media files without mpv's knowledge, so the cache is completely useless and hits EOF instantly.) That it retries reading is apparently a good thing: at least local files can grow, and even after the player got the EOF, playback _could_ be resumed by basically polling and detecting that there is more data. So I'm not changing this behavior yet.
Diffstat (limited to 'stream')
-rw-r--r--stream/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/cache.c b/stream/cache.c
index ccb2f2ca32..69e54af798 100644
--- a/stream/cache.c
+++ b/stream/cache.c
@@ -285,7 +285,7 @@ done:
s->idle = s->eof;
s->reads++;
if (s->eof)
- MP_VERBOSE(s, "EOF reached.\n");
+ MP_TRACE(s, "EOF reached.\n");
pthread_cond_signal(&s->wakeup);