summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-22 20:02:47 +0200
committerwm4 <wm4@nowhere>2015-05-22 20:02:47 +0200
commitd26803cba00f9ecfe7c1c0914f133e775638183b (patch)
treefec123e784792ee40d9fbc412e993a52dc127569 /DOCS
parentc2f9e3d2b3431ae750aa3b51a0a60d7bf73deb0f (diff)
downloadmpv-d26803cba00f9ecfe7c1c0914f133e775638183b.tar.bz2
mpv-d26803cba00f9ecfe7c1c0914f133e775638183b.tar.xz
command: deprecate the "length" property
It collides with the --length option.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/input.rst7
2 files changed, 6 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index b91cfb8f00..cae71465e2 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -20,6 +20,7 @@ Interface changes
::
--- mpv 0.10.0 will be released ---
+ - deprecate "length" property, replaced with "duration"
- change volume property:
- the value 100 is now always "unchanged volume" - with softvol, the
range is 0 to --softvol-max, without it is 0-100
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index d264b2703d..09cbe8b718 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -842,11 +842,14 @@ Property list
``stream-end``
Raw end position in bytes in source stream.
-``length``
- Length of the current file in seconds. If the length is unknown, the
+``duration``
+ Duration of the current file in seconds. If the duration is unknown, the
property is unavailable. Note that the file duration is not always exactly
known, so this is an estimate.
+ This replaces the ``length`` property, which was deprecated after the
+ mpv 0.9 release. (The semantics are the same.)
+
``avsync``
Last A/V synchronization difference. Unavailable if audio or video is
disabled.