summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-01-25 20:12:42 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-31 16:03:10 +0200
commit35ceaf8918ee74edfe3e5bbe3b50ba3f1d7c8825 (patch)
treea03c86aa939e08844825debe60854e3c404d98c9
parent1ff555e2ed45f44904145990bd040d95d1184538 (diff)
downloadmpv-35ceaf8918ee74edfe3e5bbe3b50ba3f1d7c8825.tar.bz2
mpv-35ceaf8918ee74edfe3e5bbe3b50ba3f1d7c8825.tar.xz
cache: suggest increasing cache size in the "not filling!" message
Change "cache not filling" warning to include a hint to increase the cache size. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32815 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/cache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index 2785a0c60f..9e87670752 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -120,7 +120,7 @@ static int cache_read(cache_vars_t *s, unsigned char *buf, int size)
if(s->eof) break;
if (s->max_filepos == last_max) {
if (sleep_count++ == 10)
- mp_msg(MSGT_CACHE, MSGL_WARN, "Cache not filling!\n");
+ mp_msg(MSGT_CACHE, MSGL_WARN, "Cache not filling, consider increasing -cache and/or -cache-min!\n");
} else {
last_max = s->max_filepos;
sleep_count = 0;