changeset 33867:76b818cbb359

Mark two warnings that usually only indicate a performance issue as such.
author reimar
date Tue, 09 Aug 2011 17:36:49 +0000
parents 846cc6abc5ba
children 1714e25ded23
files stream/cache2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.c	Tue Aug 09 17:20:44 2011 +0000
+++ b/stream/cache2.c	Tue Aug 09 17:36:49 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, 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 @@
   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;