diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-03 21:43:20 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-03 22:07:37 +0100 |
commit | aeb1fca0d4c8c67dbd8a550a7f16144738597868 (patch) | |
tree | 301d98bd1cee1ca9163da16b7fe5a9fa295f61f0 /LICENSE | |
parent | a33b46194c3525cb585cc78b449ec275dbfd7f83 (diff) | |
download | mpv-aeb1fca0d4c8c67dbd8a550a7f16144738597868.tar.bz2 mpv-aeb1fca0d4c8c67dbd8a550a7f16144738597868.tar.xz |
cocoa: automatically fetch display-fps from the monitor
Comment explains why I have been so doubtful at adding this. The Apple docs
say CGDisplayModeGetRefreshRate is supposed to work only for CRTs, but it
doesn't, and actually works for LCD TVs connected over HDMI and external
displays (at least that's what I'm told, I don't have the hardware to test).
Maybe Apple docs are incorrect.
Since AFAIK Apple doesn't want to give us a better API – maybe in the fear we
might be able to actually write some useful software instead of "apps" –
I decided not to care as well and commit this.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions