summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-16 12:17:47 +0100
committerwm4 <wm4@nowhere>2015-01-16 12:17:55 +0100
commit0092ae8676648a925ea66cbb5e2930fbb1f64dfc (patch)
treef5c2819e73dded7322884da17f708c4cceabacda
parent73e5aa87d18e3fbadc286f94f89964acfada15b1 (diff)
downloadmpv-0092ae8676648a925ea66cbb5e2930fbb1f64dfc.tar.bz2
mpv-0092ae8676648a925ea66cbb5e2930fbb1f64dfc.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 02274716bd..2751c7348f 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1479,13 +1479,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