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

reimar subversion at mplayerhq.hu
Tue Aug 9 19:36:49 CEST 2011


Author: reimar
Date: Tue Aug  9 19:36:49 2011
New Revision: 33955

Log:
Mark two warnings that usually only indicate a performance issue as such.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Tue Aug  9 19:20:44 2011	(r33954)
+++ trunk/stream/cache2.c	Tue Aug  9 19:36:49 2011	(r33955)
@@ -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, consider increasing -cache and/or -cache-min!\n");
+	        mp_msg(MSGT_CACHE, MSGL_WARN, "Cache not filling, consider increasing -cache and/or -cache-min. [performance issue]\n");
 	} else {
 	    last_max = s->max_filepos;
 	    sleep_count = 0;
@@ -612,7 +612,7 @@ int cache_do_control(stream_t *stream, i
   cache_wakeup(stream);
   while (s->control != -1) {
     if (sleep_count++ == 1000)
-      mp_msg(MSGT_CACHE, MSGL_WARN, "Cache not responding!\n");
+      mp_msg(MSGT_CACHE, MSGL_WARN, "Cache not responding! [performance issue]\n");
     if (stream_check_interrupt(CONTROL_SLEEP_TIME)) {
       s->eof = 1;
       return STREAM_UNSUPPORTED;


More information about the MPlayer-cvslog mailing list