mirror of https://github.com/mpv-player/mpv
cache: suggest increasing cache size in the "not filling!" message
Change "cache not filling" warning to include a hint to increase the cache size. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32815 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1ff555e2ed
commit
35ceaf8918
|
@ -120,7 +120,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!\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;
|
||||
|
|
Loading…
Reference in New Issue