summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-10 16:30:43 +0100
committerwm4 <wm4@nowhere>2017-11-10 16:30:43 +0100
commit1b0dc7d169cc7ef3ef20727781b1e8fee5ca159f (patch)
tree93e3e9a7c286c3fdab37ce8e60dbb03993f5975d /DOCS/man/options.rst
parent618b8a33e5ed0acbe59ec62ab11f9aabf76ef0cd (diff)
downloadmpv-1b0dc7d169cc7ef3ef20727781b1e8fee5ca159f.tar.bz2
mpv-1b0dc7d169cc7ef3ef20727781b1e8fee5ca159f.tar.xz
demux: use seekable cache for network by default, bump prefetch limit
The option for enabling it has now an "auto" choice, which is the default, and which will enable it if the media is thought to be via network or if the stream cache is enabled (same logic as --cache-secs). Also bump the --cache-secs default from 10 to 120.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 64e467e11f..2093f51b8c 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2876,8 +2876,8 @@ Demuxer
See ``--list-options`` for defaults and value range.
-``--demuxer-seekable-cache=<yes|no>``
- This controls whether seeking can use the demuxer cache (default: no). If
+``--demuxer-seekable-cache=<yes|no|auto>``
+ This controls whether seeking can use the demuxer cache (default: auto). If
enabled, short seek offsets will not trigger a low level demuxer seek
(which means for example that slow network round trips or FFmpeg seek bugs
can be avoided). If a seek cannot happen within the cached range, a low
@@ -2890,6 +2890,10 @@ Demuxer
start or after the end of the file. This option is experimental - thus
disabled, and bugs are to be expected.
+ The special value ``auto`` means ``yes`` in the same situation as
+ ``--cache-secs`` is used (i.e. when the stream appears to be a network
+ stream or the stream cache is enabled).
+
``--demuxer-thread=<yes|no>``
Run the demuxer in a separate thread, and let it prefetch a certain amount
of packets (default: yes). Having this enabled may lead to smoother
@@ -3818,7 +3822,7 @@ Cache
``--cache-secs=<seconds>``
How many seconds of audio/video to prefetch if the cache is active. This
overrides the ``--demuxer-readahead-secs`` option if and only if the cache
- is enabled and the value is larger. (Default: 10.)
+ is enabled and the value is larger. (Default: 120.)
``--cache-pause``, ``--no-cache-pause``
Whether the player should automatically pause when the cache runs low,