From 3f5b5b758dac511f500fdfd9ae85089cbfc31fde Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Feb 2015 21:11:45 +0100 Subject: 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. --- stream/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') 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); -- cgit v1.2.3