diff options
author | wm4 <wm4@nowhere> | 2014-08-18 22:59:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-18 23:04:31 +0200 |
commit | cd2e4db8a5cae7362065b223be129bb9258eeedd (patch) | |
tree | e625d13b23f2001dcd1c48f5942b296d131d5bbe /TOOLS/stats-conv.py | |
parent | aaadcef52f1b42e7166517a27968bcb2f322abf2 (diff) | |
download | mpv-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 'TOOLS/stats-conv.py')
0 files changed, 0 insertions, 0 deletions