summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2015-03-17 20:04:46 +0200
committerwm4 <wm4@nowhere>2015-04-09 20:34:56 +0200
commitc97f014576143c706e9d5189a89fa9959a651c71 (patch)
tree53991dd7c61a85aab84988c7be33339561e54eda /video/out/gl_w32.c
parentf1746741dee6000b7fd139e7a10f72aba0674b3b (diff)
downloadmpv-c97f014576143c706e9d5189a89fa9959a651c71.tar.bz2
mpv-c97f014576143c706e9d5189a89fa9959a651c71.tar.xz
opengl: smoothmotion: wake up for next vsync a bit earlier
on my windows system this allows smoothmotion to work perfectly also in windowed mode. There's no real right or wrong here, with the the only goal being to always hit the next vsync. however, on cases where vsync timing is jittery (as could happen with DWM), this patch tries to aim to the middle of the vsync cycle to get as least affected as possible by such jitter.
Diffstat (limited to 'video/out/gl_w32.c')
0 files changed, 0 insertions, 0 deletions