summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authormplayer-svn <svn@mplayerhq.hu>2011-08-09 17:36:49 +0000
committerwm4 <wm4@nowhere>2012-08-03 01:13:34 +0200
commit92dc567ed99ca08b920a1e4a5504adc48d92614b (patch)
tree0ff81f24375fce96ffe24667440b1339125602c5 /stream
parent4f0401933847ca5c5ff7e5e118469246c51bad76 (diff)
downloadmpv-92dc567ed99ca08b920a1e4a5504adc48d92614b.tar.bz2
mpv-92dc567ed99ca08b920a1e4a5504adc48d92614b.tar.xz
cache2: make warnings easier to understand
Mark two warnings that usually only indicate a performance issue as such. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33955 b3059339-0415-0410-9bf9-f77b7e298cf2 Another attempt to make message easier to understand. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33956 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
Diffstat (limited to 'stream')
-rw-r--r--stream/cache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index 4fb663aca6..8b88dbcacb 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -116,7 +116,7 @@ static int cache_read(cache_vars_t *s, unsigned char *buf, int size)
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 empty, consider increasing -cache and/or -cache-min. [performance issue]\n");
} else {
last_max = s->max_filepos;
sleep_count = 0;
@@ -603,7 +603,7 @@ int cache_do_control(stream_t *stream, int cmd, void *arg) {
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;