diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-25 18:17:25 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-26 16:49:56 +0000 |
commit | b9c42755a75d74f5cd48737e714d31589fcac6a0 (patch) | |
tree | ec3d9db28c1f762844008ef64a2435170a9e150c /DOCS/man/options.rst | |
parent | 1be0d0aa844a6c72b25d9b21244a81fd96e96ee9 (diff) | |
download | mpv-b9c42755a75d74f5cd48737e714d31589fcac6a0.tar.bz2 mpv-b9c42755a75d74f5cd48737e714d31589fcac6a0.tar.xz |
javascript: use --js-memory-report option instead of MPV_LEAK_REPORT
The MPV_LEAK_REPORT environment variable was previously read in order to
determine whether or not to enable memory reporting for javascript
scripts. This is kind of weird and deviates from the norm of exposing an
option to the user. So let's just add --js-memory-report and disable it
by default instead.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 49832a4804..5f986f4126 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -993,6 +993,12 @@ Program Behavior - ``--ytdl-raw-options=proxy=[http://127.0.0.1:3128]`` - ``--ytdl-raw-options-append=proxy=http://127.0.0.1:3128`` +``--js-memory-report=<yes|no>`` + Enable memory reporting for javascript scripts in the stats overlay. + This is disabled by default because it has an overhead and increases + memory usage. This option will only work if it is enabled before mpv is + started. + ``--load-stats-overlay=<yes|no>`` Enable the builtin script that shows useful playback information on a key binding (default: yes). By default, the ``i`` key is used (``I`` to make |