diff options
author | wm4 <wm4@nowhere> | 2014-10-24 15:34:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-24 15:34:53 +0200 |
commit | f1481df0b63c27f1417cddf8fb0c1bf12ff58b82 (patch) | |
tree | 7fe7805891ce277f1c6388b1157f8b09315593e3 /DOCS | |
parent | 96b339fc07a22f8ffbc8f86411fefd032066a144 (diff) | |
download | mpv-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.rst | 5 |
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 |