summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-24 15:34:53 +0200
committerwm4 <wm4@nowhere>2014-10-24 15:34:53 +0200
commitf1481df0b63c27f1417cddf8fb0c1bf12ff58b82 (patch)
tree7fe7805891ce277f1c6388b1157f8b09315593e3 /DOCS
parent96b339fc07a22f8ffbc8f86411fefd032066a144 (diff)
downloadmpv-f1481df0b63c27f1417cddf8fb0c1bf12ff58b82.tar.bz2
mpv-f1481df0b63c27f1417cddf8fb0c1bf12ff58b82.tar.xz
command: add vo-configured property
So a client API user can know when a window is created or destroyed. Also might be useful for the OSC: it could disable itself if video is disabled. Before this commit, there were only indirect ways of detecting this.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 9dc1cf0ea6..cc2bd72403 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1372,6 +1372,11 @@ Property list
Note that you need to escape the ``\`` character, because the string is
processed for C escape sequences before passing it to the OSD code.
+``vo-configured``
+ Return whether the VO is configured right now. Usually this corresponds to
+ whether the video window is visible. If the ``--force-window`` option is
+ used, this is usually always returns ``yes``.
+
``audio-device-list``
Return the list of discovered audio devices. This is mostly for use with
the client API, and reflects what ``--audio-device=help`` with the command