From 9e76c203f7900f76d938e2613a982b0399da1e06 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 8 Oct 2019 18:38:23 +0200 Subject: DOCS: some corrections around cache options --- DOCS/interface-changes.rst | 1 + DOCS/man/options.rst | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 601a17027b..925a24420d 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -81,6 +81,7 @@ Interface changes dropped: `cache`, `cache-size`, `cache-free`, `cache-used`, `--cache-default`, `--cache-initial`, `--cache-seek-min`, `--cache-backbuffer`, `--cache-file`, `--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 playback if --demuxer-thread=no is forced. - remove `--macos-title-bar-style`, replaced by `--macos-title-bar-material` diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 99c02d7fe6..277bf0df12 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4004,11 +4004,17 @@ Cache Decide whether to use network cache settings (default: auto). 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. - The ``auto`` choice sets this depending on whether the stream is thought to - involve network accesses (this is an imperfect heuristic). + The ``auto`` choice enables this depending on whether the stream is thought + 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`` Turn off input stream caching. See ``--cache``. -- cgit v1.2.3