From 7af6e64db748f71b472cd2b70ef7ebbe9da97859 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Aug 2016 21:14:41 +0200 Subject: command: add property for current subtitle text Requested by someone. Reuses the code for terminal subtitle display. --- DOCS/man/input.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'DOCS/man') 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``. -- cgit v1.2.3