diff options
author | Julian <MyFakeAcc.4@googlemail.com> | 2017-09-23 17:54:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:32 +0200 |
commit | c38ad6ae6fec6f7190702e3d8a909fdd08a413be (patch) | |
tree | a52e136f3c6bb8a67006de51d1742857fd305ae0 /waftools/generators | |
parent | eadec19d22b644bc90463915b99cafbfbdb65cea (diff) | |
download | mpv-c38ad6ae6fec6f7190702e3d8a909fdd08a413be.tar.bz2 mpv-c38ad6ae6fec6f7190702e3d8a909fdd08a413be.tar.xz |
stats: change the way toggling/oneshot works internally
Previously multiple timers were used to realize oneshot, toggling
(redrawing) and page keybindings. The oneshot case in particular also
relied on mp.osd_message to display text only for a given duration.
This was changed to only use one timer in total now. Because now each
case has a defined "start" and "end" point (including oneshot)
mp.set_osd_ass() can be used to print stats as well. This is currently
optional and has to be activated using the config option
persistent_overlay=true.
One shortcoming: oneshot and toggling are mutual exclusive right now.
Previously you could enter toggling while oneshot stats were shown,
this is not possible anymore to reduce the number of cases to be
considered. This can be added later on if desired.
Diffstat (limited to 'waftools/generators')
0 files changed, 0 insertions, 0 deletions