summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-18 21:11:45 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-02-19 13:39:39 +0900
commit3437ea23f67d88c571e8ea956fb9643807fcaf54 (patch)
tree72a8afe9eb176e249e73b5c22c20d5914a0183fe /stream
parent16856994e9e691f9bc0e2d400632e77d73caa5ff (diff)
downloadmpv-3437ea23f67d88c571e8ea956fb9643807fcaf54.tar.bz2
mpv-3437ea23f67d88c571e8ea956fb9643807fcaf54.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. (cherry picked from commit 3f5b5b758dac511f500fdfd9ae85089cbfc31fde)
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);