diff stream/cache2.c @ 32728:ce80aa247b4b

Change "cache not filling" warning to include a hint to increase the cache size.
author reimar
date Tue, 25 Jan 2011 20:12:42 +0000
parents 0624fa95a2aa
children 005b026b1231
line wrap: on
line diff
--- a/stream/cache2.c	Mon Jan 24 20:09:28 2011 +0000
+++ b/stream/cache2.c	Tue Jan 25 20:12:42 2011 +0000
@@ -121,7 +121,7 @@
 	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;