From b7052b431c92c2babd032885701fb56dfd3ec452 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Nov 2012 20:26:52 +0100 Subject: command: add sub_reload and sub_remove commands sub_remove remove an external subtitle track, for whatever this may be needed. sub_reload removes and re-adds an external subtitle track. Also rename sub_load to sub_add, because that seems to be more in line with sub_remove. --- DOCS/man/en/input.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 9a6b8e1adf..b05885390b 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -158,10 +158,20 @@ run "" quit [] Exit the player using the given exit code. -sub_load "" +sub_add "" Load the given subtitle file. It's not selected as current subtitle after loading. +sub_remove [] + Remove the given subtitle track. If the ``id`` argument is missing, remove + the current track. (Works on external subtitle files only.) + +sub_reload [] + Reload the given subtitle tracks. If the ``id`` argument is missing, remove + the current track. (Works on external subtitle files only.) + + This works by unloading and re-adding the subtitle track. + sub_step Change subtitle timing such, that the subtitle event after the next subtitle events is displayed. can be negative to step back. -- cgit v1.2.3