mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
DOCS: some corrections around cache options
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
@@ -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``.
|
||||||
|
|||||||
Reference in New Issue
Block a user