From 131633b4e5a378ce67ad7e04ca713097f0c01c71 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Oct 2014 23:55:29 +0200 Subject: command: extend sub_add command --- DOCS/man/input.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 7f141262a3..4d30a3cf43 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -260,10 +260,26 @@ List of Input Commands will seek to the previous position on start. The (optional) argument is exactly as in the ``quit`` command. -``sub_add ""`` +``sub_add "" [ [ [<lang>]]]`` Load the given subtitle file. It is selected as current subtitle after loading. + The ``flags`` args is one of the following values: + + <select> + + Select the subtitle immediately. + + <auto> + + Don't select the subtitle. (Or in some special situations, let the + default stream selection mechanism decide.) + + The ``title`` argument sets the track title in the UI. + + The ``lang`` argument sets the track language, and can also influence + stream selection with ``flags`` set to ``auto``. + ``sub_remove [<id>]`` Remove the given subtitle track. If the ``id`` argument is missing, remove the current track. (Works on external subtitle files only.) -- cgit v1.2.3