1
mirror of https://github.com/mpv-player/mpv synced 2024-08-24 07:21:49 +02:00

stream_memory: disable stream cache

Obviously makes no sense and just wastes resources.
This commit is contained in:
wm4 2016-08-26 12:11:01 +02:00
parent 31f28da0f3
commit cb9b60ef19

View File

@ -88,6 +88,7 @@ static int open_f(stream_t *stream)
stream->seekable = true;
stream->control = control;
stream->read_chunk = 1024 * 1024;
stream->allow_caching = false;
struct priv *p = talloc_zero(stream, struct priv);
stream->priv = p;