diff options
author | wm4 <wm4@nowhere> | 2016-08-27 21:14:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-27 21:14:41 +0200 |
commit | 7af6e64db748f71b472cd2b70ef7ebbe9da97859 (patch) | |
tree | 5bbf15efccf2a0a603ddb0533a51c2f7a8fbe384 /DOCS/man | |
parent | eed99d36096173baaf1964413fd070a466952598 (diff) | |
download | mpv-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.rst | 7 |
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``. |