summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-02 09:42:19 +0200
committerwm4 <wm4@nowhere>2016-09-02 09:42:19 +0200
commit3659f9e41646b95dc812640a49bb0b8cb879e441 (patch)
treefaac69eb141daeb80f9b5ba572fc41241e0dd587 /DOCS
parentce05413a87ee24e706bf3cc044bf7eec422d034a (diff)
downloadmpv-3659f9e41646b95dc812640a49bb0b8cb879e441.tar.bz2
mpv-3659f9e41646b95dc812640a49bb0b8cb879e441.tar.xz
command: deprecate "cache" property, replace with "cache-percent"
The --cache option and cache property conflict, so one of them has to be renamed. The option is probably used frequently, so initiate deprecation/rename of the property.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/input.rst6
2 files changed, 2 insertions, 5 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index f2b8b19514..6d33c4afad 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -33,6 +33,7 @@ Interface changes
- "demuxer" -> "current-demuxer"
- "fps" -> "container-fps"
- "idle" -> "idle-active"
+ - "cache" -> "cache-percent"
the old names are deprecated
- remove deprecated "hwdec-active" and "hwdec-detected" properties
- remove "pre-shaders", "post-shaders" and "scale-shader": deprecated
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 56fa6b355e..dbd6166df9 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2089,11 +2089,7 @@ caveats with some properties (due to historical reasons):
If a VO is created, this will return either the actual display FPS, or
an invalid value, instead of the option value.
-``cache``
- This behaves completely different as property: instead of configuring the
- cache size like the option, it returns the cache state in percent.
-
-``demuxer``, ``idle``, ``length``, ``audio-samplerate``, ``audio-channels``, ``audio-format``, ``fps``
+``demuxer``, ``idle``, ``length``, ``audio-samplerate``, ``audio-channels``, ``audio-format``, ``fps``, ``cache``
These behave completely different as property, but are deprecated (newer
aliases which don't conflict have been added). After the deprecation period
they will be changed to the proper option behavior.