summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-16 12:17:47 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:19 +0900
commitf8b842cdf3af33ee4e971b41e077cf98ee081d34 (patch)
treeb2b3673d341b9d2547a1734db98c8aa9dc512fb4
parentad9ea546d3b913b7b691c6fe0cb0fee6492d9d9b (diff)
downloadmpv-f8b842cdf3af33ee4e971b41e077cf98ee081d34.tar.bz2
mpv-f8b842cdf3af33ee4e971b41e077cf98ee081d34.tar.xz
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 "\".
-rw-r--r--DOCS/man/input.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 45273153a4..8a7b621656 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1428,13 +1428,16 @@ Property list
.. 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.
Note that you need to escape the ``\`` character, because the string is
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``
Return whether the VO is configured right now. Usually this corresponds to
whether the video window is visible. If the ``--force-window`` option is