diff options
author | wm4 <wm4@nowhere> | 2015-11-25 22:11:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-25 23:30:52 +0100 |
commit | 12eb8b2de8b0ce5a9c45dbcdf3befc5075a35c98 (patch) | |
tree | 360ee143330ae256df5c170ec570a0ab75fc4396 /video/out/opengl/osd.h | |
parent | 44376d2d9bc36ca7d057e414243fb7de9d4a01cd (diff) | |
download | mpv-12eb8b2de8b0ce5a9c45dbcdf3befc5075a35c98.tar.bz2 mpv-12eb8b2de8b0ce5a9c45dbcdf3befc5075a35c98.tar.xz |
vo: smooth out reported vsync time
Return the estimated/ideal flip time to the timing logic (meaning
vo_get_delay() returns a smoothed out time). In addition to this add
some lame but working drift compensation. (Useful especially if the
display FPS is wrong by a factor such as 1.001.)
Also remove some older leftovers. The vsync_interval_approx and
last_flip fields are redundant or unneeded.
Diffstat (limited to 'video/out/opengl/osd.h')
0 files changed, 0 insertions, 0 deletions