diff options
author | wm4 <wm4@nowhere> | 2015-05-22 20:02:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-22 20:02:47 +0200 |
commit | d26803cba00f9ecfe7c1c0914f133e775638183b (patch) | |
tree | fec123e784792ee40d9fbc412e993a52dc127569 /DOCS/man | |
parent | c2f9e3d2b3431ae750aa3b51a0a60d7bf73deb0f (diff) | |
download | mpv-d26803cba00f9ecfe7c1c0914f133e775638183b.tar.bz2 mpv-d26803cba00f9ecfe7c1c0914f133e775638183b.tar.xz |
command: deprecate the "length" property
It collides with the --length option.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/input.rst | 7 |
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. |