1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-29 15:00:27 +00:00
mpv/player/lua
Julian 5a9ccfdcb8 stats: add vsync-ratio and vsync-jitter
Both come with graphs enabled by default.
They can be disabled using the options plot_vsync_ratio and
plot_vsync_jitter (see the readme regarding customization).

In case both graphs are deactivated the ratio and jitter properties will
be printed on the same line to save some space.

One more user-visible/noticeable change: the maximum used to scale the
values for each graph is no longer calculated each time the stats are
shown but instead when collecting the data. This means the maximum
can actually be higher than all values currently present in a graph's
data buffer. This makes it easier to judge a graph's values, especially
since as we have no axis labels.
To prevent high values staying max forever graph data buffers are
cleared when toggling (can be disabled). It was never useful to
keep old data and simply append newer data (with a time skip) anyway.
2017-10-09 20:40:31 +02:00
..
assdraw.lua lua: do not use math.pow() 2015-01-25 01:23:29 +01:00
defaults.lua lua: allow unregistration of idle handlers 2017-01-15 17:02:21 +01:00
options.lua lua: fix options submodule 2015-05-29 15:50:09 +02:00
osc.lua osc: fix rare stack overflow when changing visibility mode 2017-09-23 14:41:17 +03:00
stats.lua stats: add vsync-ratio and vsync-jitter 2017-10-09 20:40:31 +02:00
ytdl_hook.lua ytdl_hook: resolve relative paths when joining segment urls 2017-09-03 13:42:51 +01:00