command: display-fps is the display FPS as assumed by the VO

Requested change in behavior.

Note that we set the assumed "infinite" display_fps to 1e6, which
conveniently lets vo_get_vsync_interval() return a dummy value of 1,
which can be easily checked against, and still avoids doing math with
float INFs.
This commit is contained in:
wm4
2015-03-12 23:41:25 +01:00
parent 209f8225ed
commit 9a7fc55607
3 changed files with 8 additions and 8 deletions

View File

@@ -1342,9 +1342,9 @@ Property list
``display-fps``
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 or the FPS set with
``--display-fps``. It's not necessarily available on all platforms. Note
that any of the listed facts may change any time without a warning.
APIs (e.g. xrandr on X11). It is not the measured FPS. It's not necessarily
available on all platforms. Note that any of the listed facts may change
any time without a warning.
``video-aspect`` (RW)
Video aspect, see ``--video-aspect``.