summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
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/man/input.rst
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/man/input.rst')
-rw-r--r--DOCS/man/input.rst7
1 files changed, 5 insertions, 2 deletions
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.