summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-27 21:14:41 +0200
committerwm4 <wm4@nowhere>2016-08-27 21:14:41 +0200
commit7af6e64db748f71b472cd2b70ef7ebbe9da97859 (patch)
tree5bbf15efccf2a0a603ddb0533a51c2f7a8fbe384 /DOCS/man
parenteed99d36096173baaf1964413fd070a466952598 (diff)
downloadmpv-7af6e64db748f71b472cd2b70ef7ebbe9da97859.tar.bz2
mpv-7af6e64db748f71b472cd2b70ef7ebbe9da97859.tar.xz
command: add property for current subtitle text
Requested by someone. Reuses the code for terminal subtitle display.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 8cdba41a3d..d720961226 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1668,6 +1668,13 @@ Property list
``sub-use-margins`` (RW)
See ``--sub-use-margins``.
+``sub-text``
+ Return the current subtitle text. Formatting is stripped. If a subtitle
+ is selected, but no text is currently visible, or the subtitle is not
+ text-based (i.e. DVD/BD subtitles), an empty string is returned.
+
+ This property is experimental and might be removed in the future.
+
``ass-vsfilter-aspect-compat`` (RW)
See ``--ass-vsfilter-aspect-compat``.