mirror of
https://github.com/mpv-player/mpv
synced 2025-04-04 23:40:47 +00:00
manpage: fix osd-ass-cc examples
The "\\" escape was rendered as "\" on the website. I'm hoping quoting this in ``...`` will render it correctly. Also add an example for show_text, which awkwardly does not require escaping the "\".
This commit is contained in:
parent
73e5aa87d1
commit
0092ae8676
@ -1479,13 +1479,16 @@ Property list
|
|||||||
|
|
||||||
.. admonition:: Example
|
.. admonition:: Example
|
||||||
|
|
||||||
--osd-status-msg='This is ${osd-ass-cc/0}{\\b1}bold text'
|
- ``--osd-status-msg='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.
|
Any ASS override tags as understood by libass can be used.
|
||||||
|
|
||||||
Note that you need to escape the ``\`` character, because the string is
|
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.
|
||||||
|
|
||||||
|
A list of tags can be found here: http://docs.aegisub.org/latest/ASS_Tags/
|
||||||
|
|
||||||
``vo-configured``
|
``vo-configured``
|
||||||
Return whether the VO is configured right now. Usually this corresponds to
|
Return whether the VO is configured right now. Usually this corresponds to
|
||||||
whether the video window is visible. If the ``--force-window`` option is
|
whether the video window is visible. If the ``--force-window`` option is
|
||||||
|
Loading…
Reference in New Issue
Block a user