command: add display-names property

Call VOCTRL_GET_DISPLAY_NAMES it when the property is
requested. The vo should return the names of the displays that the mpv
window is covering.  For example, with x11 vos, xrandr names LVDS1,
HDMI1, etc.
This commit is contained in:
Kevin Mitchell
2014-11-05 18:16:32 -08:00
parent 83aab1d4be
commit 351608e5cc
2 changed files with 29 additions and 0 deletions

View File

@@ -1118,6 +1118,10 @@ Property list
``window-minimized``
Return whether the video window is minimized or not.
``display-names``
Names of the displays that the mpv window covers. On X11, these
are the xrandr names (LVDS1, HDMI1, DP1, VGA1, etc.).
``video-aspect`` (RW)
Video aspect, see ``--video-aspect``.