From b018c7d936879dc2ea1bd49b78157a70f9353430 Mon Sep 17 00:00:00 2001 From: Philip Sequeira Date: Tue, 13 Aug 2013 21:25:50 -0400 Subject: command: more intuitive chapter seek behavior If close to chapter start, skipping back goes to previous chapter (no change). If more than seconds in, skipping back will now go to the beginning of the current chapter instead. The threshold is set by the new option --chapter-seek-threshold and defaults to 5 seconds. A negative value disables the new functionality. --- DOCS/man/en/mpv.rst | 4 +++- DOCS/man/en/options.rst | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst index af905539f0..8931a129f2 100644 --- a/DOCS/man/en/mpv.rst +++ b/DOCS/man/en/mpv.rst @@ -176,7 +176,9 @@ P Show progression bar, elapsed time and total duration on the OSD. ! and @ - Seek to the beginning of the previous/next chapter. + Seek to the beginning of the previous/next chapter. In most cases, + "previous" will actually go to the beginning of the current chapter; see + ``--chapter-seek-threshold``. D (``--vo=vdpau``, ``--vf=yadif`` only) Activate/deactivate deinterlacer. diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 5a9aa5fc12..21e4a7991a 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -459,6 +459,13 @@ the start of the next one then keep playing video normally over the chapter change instead of doing a seek. +``--chapter-seek-threshold=`` + Distance in seconds from the beginning of a chapter within which a backward + chapter seek will go to the previous chapter (default: 5.0). Past this + threshold, a backward chapter seek will go to the beginning of the current + chapter instead. A negative value means always go back to the previous + chapter. + ``--colormatrix=`` Controls the YUV to RGB color space conversion when playing video. There are various standards. Normally, BT.601 should be used for SD video, and -- cgit v1.2.3