summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-23 20:34:30 +0200
committerwm4 <wm4@nowhere>2015-04-23 20:34:30 +0200
commitb98949c72cc5fdf6e4c19aa06148f888961ad36b (patch)
tree683d12e62a6b78c5e5b7124e3ce52263cdb935bc /DOCS/man/input.rst
parentcc21eadf30aa3e822be25ffd5118d781f4409c86 (diff)
downloadmpv-b98949c72cc5fdf6e4c19aa06148f888961ad36b.tar.bz2
mpv-b98949c72cc5fdf6e4c19aa06148f888961ad36b.tar.xz
manpage: document ff-index sub-property
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 2d297c0371..633f6a8308 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1524,6 +1524,13 @@ Property list
``track-list/N/selected``
``yes`` if the track is currently decoded, ``no`` otherwise.
+ ``track-list/N/ff-index``
+ The stream index as usually used by the FFmpeg utilities. Note that
+ this can be potentially wrong if a demuxer other than libavformat
+ (``--demuxer=lavf``) is used. For mkv files, the index will usually
+ match even if the default (builtin) demuxer is used, but there is
+ no hard guarantee.
+
When querying the property with the client API using ``MPV_FORMAT_NODE``,
or with Lua ``mp.get_property_native``, this will return a mpv_node with
the following contents: