1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00

manpage: attempt to remove some more cache option confusion

OK, so --cache-secs is useless, because the default is set to 10 hours.
And that part about the "maximum" was obviously a lie (I wonder if it
simply changed at some point).
This commit is contained in:
wm4 2019-10-14 18:28:14 +02:00
parent 06765e6ac9
commit 18bd768ecc

View File

@ -4003,9 +4003,9 @@ Cache
``--cache=<yes|no|auto>`` ``--cache=<yes|no|auto>``
Decide whether to use network cache settings (default: auto). Decide whether to use network cache settings (default: auto).
If enabled, use the maximum of ``--cache-secs`` and ``--demuxer-max-bytes`` If enabled, use up to ``--cache-secs`` for the cache size (but still limited
for the cache size, and ``--demuxer-seekable-cache=auto`` behaves as if it to ``--demuxer-max-bytes``). ``--demuxer-seekable-cache=auto`` behaves as if
was set to ``yes``. If disabled, ``--cache-pause`` and related are it was set to ``yes``. If disabled, ``--cache-pause`` and related are
implicitly disabled. implicitly disabled.
The ``auto`` choice enables this depending on whether the stream is thought The ``auto`` choice enables this depending on whether the stream is thought
@ -4024,7 +4024,8 @@ Cache
overrides the ``--demuxer-readahead-secs`` option if and only if the cache overrides the ``--demuxer-readahead-secs`` option if and only if the cache
is enabled and the value is larger. The default value is set to something is enabled and the value is larger. The default value is set to something
very high, so the actually achieved readahead will usually be limited by very high, so the actually achieved readahead will usually be limited by
the value of the ``--demuxer-max-bytes`` option. the value of the ``--demuxer-max-bytes`` option. Setting this option is
usually only useful for limiting readahead.
``--cache-on-disk=<yes|no>`` ``--cache-on-disk=<yes|no>``
Write packet data to a temporary file, instead of keeping them in memory. Write packet data to a temporary file, instead of keeping them in memory.
@ -4070,8 +4071,8 @@ Cache
to control how long the player rebuffers if ``--cache-pause`` is enabled, to control how long the player rebuffers if ``--cache-pause`` is enabled,
and the demuxer underruns. If the given time is higher than the maximum and the demuxer underruns. If the given time is higher than the maximum
set with ``--cache-secs`` or ``--demuxer-readahead-secs``, or prefetching set with ``--cache-secs`` or ``--demuxer-readahead-secs``, or prefetching
ends before that for some other reason (like file end), playback resumes ends before that for some other reason (like file end or maximum configured
earlier. cache size reached), playback resumes earlier.
``--cache-pause-initial=<yes|no>`` ``--cache-pause-initial=<yes|no>``
Enter "buffering" mode before starting playback (default: no). This can be Enter "buffering" mode before starting playback (default: no). This can be