mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
2b5c2c8e44
commit
013985b872
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue