DOCS: some corrections around cache options

This commit is contained in:
wm4
2019-10-08 18:38:23 +02:00
parent 1f77102ee8
commit 9e76c203f7
2 changed files with 10 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ Interface changes
dropped: `cache`, `cache-size`, `cache-free`, `cache-used`, `--cache-default`, dropped: `cache`, `cache-size`, `cache-free`, `cache-used`, `--cache-default`,
`--cache-initial`, `--cache-seek-min`, `--cache-backbuffer`, `--cache-file`, `--cache-initial`, `--cache-seek-min`, `--cache-backbuffer`, `--cache-file`,
`--cache-file-size` `--cache-file-size`
- the --cache option does not take a number value anymore
- remove async playback abort hack. This may make it impossible to abort - remove async playback abort hack. This may make it impossible to abort
playback if --demuxer-thread=no is forced. playback if --demuxer-thread=no is forced.
- remove `--macos-title-bar-style`, replaced by `--macos-title-bar-material` - remove `--macos-title-bar-style`, replaced by `--macos-title-bar-material`

View File

@@ -4004,11 +4004,17 @@ Cache
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 the maximum of ``--cache-secs`` and ``--demuxer-max-bytes``
for the cache size. If disabled, ``--cache-pause`` and related are for the cache size, and ``--demuxer-seekable-cache=auto`` behaves as if it
was set to ``yes``. If disabled, ``--cache-pause`` and related are
implicitly disabled. implicitly disabled.
The ``auto`` choice sets this depending on whether the stream is thought to The ``auto`` choice enables this depending on whether the stream is thought
involve network accesses (this is an imperfect heuristic). to involve network accesses or other slow media (this is an imperfect
heuristic).
Before mpv 0.30.0, this used to accept a number, which specified the size
of the cache in kilobytes. Use e.g. ``--cache --demuxer-max-bytes=123k``
instead.
``--no-cache`` ``--no-cache``
Turn off input stream caching. See ``--cache``. Turn off input stream caching. See ``--cache``.