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
This commit is contained in:
reimar 2011-01-25 20:12:42 +00:00 committed by Uoti Urpala
parent 1ff555e2ed
commit 35ceaf8918
1 changed files with 1 additions and 1 deletions

View File

@ -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;