1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 09:57:34 +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
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
values only need to be quoted to escape ``#`` and ``\``, ``"``, ``'`` or ``%``
at the beginning of the value, and leading and trailing whitespace.
values only need to be quoted to escape ``#`` anywhere in the value, ``"``,
``'`` or ``%`` at the beginning of the value, and leading and trailing
whitespace.
Putting Command Line Options into the Configuration File
--------------------------------------------------------