aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/man/en
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-04-24 02:14:27 +0200
committerGravatar wm4 <wm4@nowhere>2014-04-24 02:30:00 +0200
commit05bad1f57a771b99da524ee6596c39ca410072fa (patch)
treef9009a48451ea88061a3fbdb193c50b2bab0f10b /DOCS/man/en
parentf5df78b3fc1dac42fcf19b1ead4ba984c57ce4e1 (diff)
command: allow native access to "vf" property
This allows client API users and Lua scripts to side-step the pretty horrible video filter string "language" (although it's back and can't be avoided when using libavfilter).
Diffstat (limited to 'DOCS/man/en')
-rw-r--r--DOCS/man/en/input.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index 8c5a021329..69d54f6ac3 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -1191,6 +1191,22 @@ Property list
``vf`` (RW)
See ``--vf`` and the ``vf`` command.
+ 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:
+
+ ::
+
+ MPV_FORMAT_NODE_ARRAY
+ MPV_FORMAT_NODE_MAP (for each filter entry)
+ "name" MPV_FORMAT_STRING
+ "label" MPV_FORMAT_STRING [optional]
+ "params" MPV_FORMAT_NODE_MAP [optional]
+ "key" MPV_FORMAT_STRING
+ "value" MPV_FORMAT_STRING
+
+ It's also possible to write the property using this format.
+
``seekable``
Return whether it's generally possible to seek in the current file.