summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-12 23:43:45 +0100
committerwm4 <wm4@nowhere>2015-03-12 23:43:45 +0100
commit1eeeab2e1490d99b41d3585b4082f8bd404a4da6 (patch)
tree9e74027a9dc7bf6a95f81f969882a5a5599243d7
parent9a7fc55607438b60f25c52b0a16341056a99f882 (diff)
downloadmpv-1eeeab2e1490d99b41d3585b4082f8bd404a4da6.tar.bz2
mpv-1eeeab2e1490d99b41d3585b4082f8bd404a4da6.tar.xz
cache: bump default size to 150MB
(Well, almost 150MB.)
-rw-r--r--DOCS/man/options.rst2
-rw-r--r--options/options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index dec0740eb7..534a2b47c4 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3077,7 +3077,7 @@ Cache
because no space is reserved for seeking back yet.
``--cache-default=<kBytes|no>``
- Set the size of the cache in kilobytes (default: 25000 KB). Using ``no``
+ Set the size of the cache in kilobytes (default: 150000 KB). Using ``no``
will not automatically enable the cache e.g. when playing from a network
stream. Note that using ``--cache`` will always override this option.
diff --git a/options/options.c b/options/options.c
index d985086a6e..737d2e5814 100644
--- a/options/options.c
+++ b/options/options.c
@@ -729,7 +729,7 @@ const struct MPOpts mp_default_opts = {
.position_resume = 1,
.stream_cache = {
.size = -1,
- .def_size = 25000,
+ .def_size = 150000,
.initial = 0,
.seek_min = 500,
.file_max = 1024 * 1024,