diff options
author | Julian <MyFakeAcc.4@googlemail.com> | 2017-07-02 03:00:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:32 +0200 |
commit | 98ddbf8c34a6c42f2dd15b61c7208f319aa87866 (patch) | |
tree | dc3e3ead3273d91d6aa5b260e10381c066f2e742 /libmpv/mpv.def | |
parent | c04ff9dce0b2962345eb547135ff2da9b74b3328 (diff) | |
download | mpv-98ddbf8c34a6c42f2dd15b61c7208f319aa87866.tar.bz2 mpv-98ddbf8c34a6c42f2dd15b61c7208f319aa87866.tar.xz |
stats: support for multiple "pages" of stats
Please note that the latest version of this script needs a very recent
version of mpv (from yesterday, to be precise, see the readme).
For older versions, please go to "releases".
HOW IT WORKS:
While the stats are visible (i.e. text is printed to the OSD) a
subsequent click on a numeric key (1, 2, ...) will display the
corresponding "page".
This works no matter if the stats are toggled or just shown as a single
invocation. In case of a single invocation, the newly displayed page
will be shown for the full duration again.
The selected page will be remembered (not persistantly though).
So far, only 3 pages are available.
1: the default page, stats as they used to be
2: extensive VO performance stats (to be redesigned/changed soon)
3: dummy
In the future, many more pages are possible.
Implementation is likely to change again (functionality will stay
the same). A new timer had to be introduced to remove the forced
keybindings in the oneshot case. The toggle case can remove them without
a timer. Ensuring that each mode won't remove timers of the other mode
didn't really turn out neat.
Therefore, I intend to change this again, maybe by merging the
oneshot case into the toggle case.
Diffstat (limited to 'libmpv/mpv.def')
0 files changed, 0 insertions, 0 deletions