diff options
author | wm4 <wm4@nowhere> | 2014-08-17 02:50:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-17 02:50:59 +0200 |
commit | 5b64f5ad35ba00d894c9efb1b12fa93ed1aa27fa (patch) | |
tree | db520914a6aef094aef098d885ee0ff5d0a6a2c7 /video/img_fourcc.h | |
parent | 4822056db7a9f717eace337aeda760c35ab114d5 (diff) | |
download | mpv-5b64f5ad35ba00d894c9efb1b12fa93ed1aa27fa.tar.bz2 mpv-5b64f5ad35ba00d894c9efb1b12fa93ed1aa27fa.tar.xz |
video: take refresh rate changes into account
This works only on X11, and only if the refresh rate changes due to the
window being moved to another screen (detected by us). It doesn't
include system screen reconfiguration yet.
This calls VOCTRL_GET_DISPLAY_FPS on every frame, which makes me uneasy.
It means extra thread communication with the win32 and Cocoa backends.
On the other hand, a frame doesn't happen _that_ often, and the
communication should still be pretty cheap and fast, so it's probably
ok.
Also needs some extra fuzz for vo_vdpau.c, because that does everything
differently.
Diffstat (limited to 'video/img_fourcc.h')
0 files changed, 0 insertions, 0 deletions