summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-09-29 23:21:23 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2016-09-29 23:49:36 +1000
commitf549cec0aceba4721d69b3ebdcd72a93f1c2c122 (patch)
tree6d03af4f04c66ea8a49628369b33b16d1eb5fc8f /DOCS
parent6487ba4864fe8ea8ac1ab89d949853e52ee7a959 (diff)
downloadmpv-f549cec0aceba4721d69b3ebdcd72a93f1c2c122.tar.bz2
mpv-f549cec0aceba4721d69b3ebdcd72a93f1c2c122.tar.xz
w32_common: implement VOCTRL_GET_DISPLAY_NAMES
This should make display-names usable on Windows. It returns a list of GDI monitor names like "\\.\DISPLAY1". Since it may be useful to get the monitor that Windows considers associated with the window (with MonitorFromWindow,) this will always be returned as the first argument. This monitor is the one used for display-fps and icc-profile-auto.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 8e61c22daa..c7a9d26cac 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1492,7 +1492,10 @@ Property list
``display-names``
Names of the displays that the mpv window covers. On X11, these
- are the xrandr names (LVDS1, HDMI1, DP1, VGA1, etc.).
+ are the xrandr names (LVDS1, HDMI1, DP1, VGA1, etc.). On Windows, these
+ are the GDI names (\\.\DISPLAY1, \\.\DISPLAY2, etc.) and the first display
+ in the list will be the one that Windows considers associated with the
+ window (as determined by the MonitorFromWindow API.)
``display-fps`` (RW)
The refresh rate of the current display. Currently, this is the lowest FPS
@@ -1528,12 +1531,12 @@ Property list
``dvb-channel`` (W)
Pair of integers: card,channel of current DVB stream.
- Can be switched to switch to another channel on the same card.
+ Can be switched to switch to another channel on the same card.
``dvb-channel-name`` (RW)
Name of current DVB program.
On write, a channel-switch to the named channel on the same
- card is performed. Can also be used for channel switching.
+ card is performed. Can also be used for channel switching.
``sub-text``
Return the current subtitle text. Formatting is stripped. If a subtitle