1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

cache: be silent if no initial fill is requested

Hides the "Cache fill:" message with default settings.
This commit is contained in:
wm4 2014-05-22 13:07:18 +02:00
parent d62dad55ef
commit b37e3cc0ee

View File

@ -702,7 +702,9 @@ int stream_cache_init(stream_t *cache, stream_t *stream,
}
s->cache_thread_running = true;
// wait until cache is filled at least prefill_init %
// wait until cache is filled with at least min bytes
if (min < 1)
return 1;
for (;;) {
if (stream_check_interrupt(cache))
return 0;