changeset 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 470867f7e1df
children 49dd2f27d5d9
files stream/cache2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;