diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-08-15 19:55:15 +0200 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-08-16 01:33:11 +0300 |
commit | 013985b872bbb180a589775bda41ac160cea3f4a (patch) | |
tree | dbc39576974328df901cdbd458efffd1b3b479e4 | |
parent | 2b5c2c8e44bba096389ed3f2845d27beaf15b43b (diff) | |
download | mpv-013985b872bbb180a589775bda41ac160cea3f4a.tar.bz2 mpv-013985b872bbb180a589775bda41ac160cea3f4a.tar.xz |
DOCS/input: update osd-ass-cc documentation
- Replace the legacy --osd-status-msg with the newer --osd-msg3.
- Escape \b in show-text "This is ${osd-ass-cc/0}{\b1}bold text".
- Link the Flat command syntax section because it's no longer true that
you always need to escape \, since C escape sequences are not
interpreted with single and custom quotes.
-rw-r--r-- | DOCS/man/input.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index a13a8e359a..32d82d9dba 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -3057,13 +3057,14 @@ Property list .. admonition:: Example - - ``--osd-status-msg='This is ${osd-ass-cc/0}{\\b1}bold text'`` - - ``show-text "This is ${osd-ass-cc/0}{\b1}bold text"`` + - ``--osd-msg3='This is ${osd-ass-cc/0}{\\b1}bold text'`` + - ``show-text "This is ${osd-ass-cc/0}{\\b1}bold text"`` Any ASS override tags as understood by libass can be used. Note that you need to escape the ``\`` character, because the string is - processed for C escape sequences before passing it to the OSD code. + processed for C escape sequences before passing it to the OSD code. See + `Flat command syntax`_ for details. A list of tags can be found here: http://docs.aegisub.org/latest/ASS_Tags/ |