[MPlayer-cvslog] r32815 - trunk/stream/cache2.c

reimar subversion at mplayerhq.hu
Tue Jan 25 21:12:43 CET 2011


Author: reimar
Date: Tue Jan 25 21:12:42 2011
New Revision: 32815

Log:
Change "cache not filling" warning to include a hint to increase the cache size.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Mon Jan 24 21:09:28 2011	(r32814)
+++ trunk/stream/cache2.c	Tue Jan 25 21:12:42 2011	(r32815)
@@ -121,7 +121,7 @@ static int cache_read(cache_vars_t *s, u
 	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;


More information about the MPlayer-cvslog mailing list