summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-15 20:26:52 +0100
committerwm4 <wm4@nowhere>2012-11-16 21:21:15 +0100
commitb7052b431c92c2babd032885701fb56dfd3ec452 (patch)
treecf4e45be7d61387cf831d28a19306a0cb4cbf194 /DOCS/man
parentdd7dc2ee3d060d77dbafb3182127eb1a59c2d79f (diff)
downloadmpv-b7052b431c92c2babd032885701fb56dfd3ec452.tar.bz2
mpv-b7052b431c92c2babd032885701fb56dfd3ec452.tar.xz
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.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/en/input.rst12
1 files changed, 11 insertions, 1 deletions
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 "<command>"
quit [<code>]
Exit the player using the given exit code.
-sub_load "<file>"
+sub_add "<file>"
Load the given subtitle file. It's not selected as current subtitle after
loading.
+sub_remove [<id>]
+ Remove the given subtitle track. If the ``id`` argument is missing, remove
+ the current track. (Works on external subtitle files only.)
+
+sub_reload [<id>]
+ 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 <skip>
Change subtitle timing such, that the subtitle event after the next <skip>
subtitle events is displayed. <skip> can be negative to step back.