summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-18 22:59:12 +0200
committerwm4 <wm4@nowhere>2014-08-18 23:04:31 +0200
commitcd2e4db8a5cae7362065b223be129bb9258eeedd (patch)
treee625d13b23f2001dcd1c48f5942b296d131d5bbe /video/out/vo.h
parentaaadcef52f1b42e7166517a27968bcb2f322abf2 (diff)
downloadmpv-cd2e4db8a5cae7362065b223be129bb9258eeedd.tar.bz2
mpv-cd2e4db8a5cae7362065b223be129bb9258eeedd.tar.xz
vo_opengl: add check-pattern suboption for testing
This uses glXGetVideoSyncSGI() to check how many vsyncs happened since the last flip_page() call. It allows checking a pattern of vsync increments of at most 2 elements. For example, to check ~24 fps playback on a ~60 Hz monitor, this can be used: --vo=opengl:check-pattern=[3-2]:waitvsync Whether the reported results are accurate or just plain wrong may depend on the driver and if the waitvsync sub-option is used. There are no guarantees. This option is undocumented, and may be removed again in the near or distant future.
Diffstat (limited to 'video/out/vo.h')
0 files changed, 0 insertions, 0 deletions