From b98949c72cc5fdf6e4c19aa06148f888961ad36b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 23 Apr 2015 20:34:30 +0200 Subject: [PATCH] manpage: document ff-index sub-property --- DOCS/man/input.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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: