command: make display-fps property writable

Has the same function as setting the option.

This commit changes the property in a bunch of other ways. For example
if the VO is not created, it will return the option value.
This commit is contained in:
wm4
2015-11-09 13:52:46 +01:00
parent 11888a9270
commit 8baf773d0e
2 changed files with 10 additions and 8 deletions

View File

@@ -1452,7 +1452,7 @@ Property list
Names of the displays that the mpv window covers. On X11, these
are the xrandr names (LVDS1, HDMI1, DP1, VGA1, etc.).
``display-fps``
``display-fps`` (RW)
The refresh rate of the current display. Currently, this is the lowest FPS
of any display covered by the video, as retrieved by the underlying system
APIs (e.g. xrandr on X11). It is not the measured FPS. It's not necessarily