1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 18:05:21 +00:00

DOCS/mpv: quotes in mpv.conf don't escape backslash

I don't know why I thought they did in 7798881360, but single quotes
disable escape sequences only in input.conf commands.
This commit is contained in:
Guido Cella 2023-11-23 08:46:20 +01:00 committed by sfan5
parent dea512ea38
commit 65b5543332

View File

@ -651,8 +651,9 @@ before. This is like passing the exact contents of the quoted string as a
command line option. C-style escapes are currently _not_ interpreted on this command line option. C-style escapes are currently _not_ interpreted on this
level, although some options do this manually (this is a mess and should level, although some options do this manually (this is a mess and should
probably be changed at some point). The shell is not involved here, so option probably be changed at some point). The shell is not involved here, so option
values only need to be quoted to escape ``#`` and ``\``, ``"``, ``'`` or ``%`` values only need to be quoted to escape ``#`` anywhere in the value, ``"``,
at the beginning of the value, and leading and trailing whitespace. ``'`` or ``%`` at the beginning of the value, and leading and trailing
whitespace.
Putting Command Line Options into the Configuration File Putting Command Line Options into the Configuration File
-------------------------------------------------------- --------------------------------------------------------