1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 04:31:39 +00:00
mpv/player
Julian 98ddbf8c34 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.
2017-10-09 20:40:32 +02:00
..
javascript
lua stats: support for multiple "pages" of stats 2017-10-09 20:40:32 +02:00
audio.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
client.c client API: change mpv_create() behavior, run init always on mpv thread 2017-06-30 13:14:39 +02:00
client.h
command.c command: drop "audio-out-detected-device" property 2017-10-09 15:48:47 +02:00
command.h build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
configfiles.c player: change default section when loading encoding-profiles.conf 2017-07-12 13:11:14 +02:00
core.h audio: make libaf derived code optional 2017-09-21 12:48:30 +02:00
external_files.c player: readd smi subtitle extension 2017-08-08 11:37:04 +02:00
external_files.h
javascript.c js: fix broken mp.set_property_number, mp.set_property_native 2017-09-23 14:41:17 +03:00
lavfi.c audio: introduce a new type to hold audio frames 2017-08-16 21:10:54 +02:00
lavfi.h audio: introduce a new type to hold audio frames 2017-08-16 21:10:54 +02:00
loadfile.c audio: introduce a new type to hold audio frames 2017-08-16 21:10:54 +02:00
lua.c
main.c player: change a minor code fragment to LGPL 2017-10-04 19:10:52 +02:00
misc.c player: make refresh seeks slightly more robust 2017-08-14 14:02:13 +02:00
osd.c player: change license of most core files to LGPL 2017-06-23 16:55:02 +02:00
playloop.c audio: make libaf derived code optional 2017-09-21 12:48:30 +02:00
screenshot.c
screenshot.h
scripting.c scripting: add wrapper to load scripts with user paths 2017-06-30 15:03:10 +01:00
sub.c player: change license of most core files to LGPL 2017-06-23 16:55:02 +02:00
video.c audio: make libaf derived code optional 2017-09-21 12:48:30 +02:00