diff options
author | Dudemanguy <random342@airmail.cc> | 2023-07-05 15:11:40 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-06 13:08:23 +0000 |
commit | ee69d99bd409d31ec35ee6f6be53db4ff29a55c9 (patch) | |
tree | 74d33ae41d88d1467b82fed966e803a3300607cd /DOCS/man/options.rst | |
parent | 48e0ee9979c2928edef813e64592217420dbd4a0 (diff) | |
download | mpv-ee69d99bd409d31ec35ee6f6be53db4ff29a55c9.tar.bz2 mpv-ee69d99bd409d31ec35ee6f6be53db4ff29a55c9.tar.xz |
various: correctly ignore cache files with --no-config
--no-config should prevent loading user files of any type: configs,
cache, etc. For cache files, this case wasn't properly handled and it
was assumed they would always get something. vo_gpu's shader cache
actually already handles this, so it was left untouched. In theory,
demuxer cache should never have this issue because saving it to disk is
disabled by default (and likely that will never change), but go ahead
and change it for consistency's sake. Fixes some segfaults with
--no-config and various combinations of settings (particularly
--vo=gpu-next).
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6a08a2d5b6..da163b9d88 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -719,9 +719,9 @@ Program Behavior Print version string and exit. ``--no-config`` - Do not load default configuration files. This prevents loading of both the - user-level and system-wide ``mpv.conf`` and ``input.conf`` files. Other - configuration files are blocked as well, such as resume playback files. + Do not load default configuration or any user files. This prevents loading of + both the user-level and system-wide ``mpv.conf`` and ``input.conf`` files. Other + user files are blocked as well, such as resume playback files and cache files. .. note:: |