From 05bad1f57a771b99da524ee6596c39ca410072fa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 24 Apr 2014 02:14:27 +0200 Subject: 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). --- DOCS/man/en/input.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'DOCS') 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. -- cgit v1.2.3