mirror of https://github.com/mpv-player/mpv
stream_memory: disable stream cache
Obviously makes no sense and just wastes resources.
This commit is contained in:
parent
31f28da0f3
commit
cb9b60ef19
|
@ -88,6 +88,7 @@ static int open_f(stream_t *stream)
|
||||||
stream->seekable = true;
|
stream->seekable = true;
|
||||||
stream->control = control;
|
stream->control = control;
|
||||||
stream->read_chunk = 1024 * 1024;
|
stream->read_chunk = 1024 * 1024;
|
||||||
|
stream->allow_caching = false;
|
||||||
|
|
||||||
struct priv *p = talloc_zero(stream, struct priv);
|
struct priv *p = talloc_zero(stream, struct priv);
|
||||||
stream->priv = p;
|
stream->priv = p;
|
||||||
|
|
Loading…
Reference in New Issue