From c4f982637ff7d85130e53a85ab1b268cf3fe02ed Mon Sep 17 00:00:00 2001 From: Ripose Date: Mon, 12 Jul 2021 11:42:03 -0700 Subject: command: adds support for secondary subs to sub-seek and sub-step Modifies the sub-seek and sub-step commands with a second argument to specify whether to seek/step on the primary or secondary subtitles. The flag is used to index into the current_track array in cmd_sub_step_seek. --- DOCS/man/input.rst | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index acb1f0bf75..ca7d2d2f57 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -683,16 +683,30 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_). This works by unloading and re-adding the subtitle track. -``sub-step `` +``sub-step `` Change subtitle timing such, that the subtitle event after the next ```` subtitle events is displayed. ```` can be negative to step backwards. -``sub-seek `` + Secondary argument: + + primary (default) + Steps through the primary subtitles. + secondary + Steps through the secondary subtitles. + +``sub-seek `` Seek to the next (skip set to 1) or the previous (skip set to -1) subtitle. This is similar to ``sub-step``, except that it seeks video and audio instead of adjusting the subtitle delay. + Secondary argument: + + primary (default) + Seeks through the primary subtitles. + secondary + Seeks through the secondary subtitles. + For embedded subtitles (like with Matroska), this works only with subtitle events that have already been displayed, or are within a short prefetch range. -- cgit v1.2.3