summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-21 22:15:17 +0200
committerwm4 <wm4@nowhere>2016-04-21 22:15:36 +0200
commit1944a34c230b6afb7707fe4fb5eb0c613b96db9b (patch)
tree4450c51dc39341055ffbd50a084ec26e26d6a804 /DOCS
parent78346e9c9a8a70fa581989b2cc8b4e0933765330 (diff)
downloadmpv-1944a34c230b6afb7707fe4fb5eb0c613b96db9b.tar.bz2
mpv-1944a34c230b6afb7707fe4fb5eb0c613b96db9b.tar.xz
command: if only ab-loop-b is set, loop from start of file
Commit 382bafcb changed the behavior for ab-loop-a. This commit changes ab-loop-b so that the behavior is symmetric. Adjust the OSD rendering accordingly to the two changes. Also fix mentions of the "ab_loop" command to the now preferred "ab-loop".
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst5
-rw-r--r--DOCS/man/input.rst5
-rw-r--r--DOCS/man/options.rst9
3 files changed, 12 insertions, 7 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 1a175d798e..3be16933ba 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -20,8 +20,9 @@ Interface changes
::
--- mpv 0.17.1 ---
- - now ab-loops are active even if the "ab-loop-b" property is unset ("no"),
- in which case the end of the file is used as B loop point
+ - now ab-loops are active even if one of the "ab-loop-a"/"-b" properties is
+ unset ("no"), in which case the start of the file is used if the A loop
+ point is unsert, and the end of the file for an unset B loop point
--- mpv 0.17.0 ---
- deprecate "track-list/N/audio-channels" property (use
"track-list/N/demux-channel-count" instead)
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 52ace4aada..83fddcf968 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1081,9 +1081,8 @@ Property list
"default" MPV_FORMAT_FLAG
``ab-loop-a``, ``ab-loop-b`` (RW)
- Set/get A-B loop points. See corresponding options and ``ab-loop`` command.
- The special value ``no`` on ``ab-loop-a`` disables looping, while setting
- ``ab-loop-b`` to ``no`` loops when the end of the file is reached.
+ Set/get A-B loop points. See corresponding options and ``ab-loop`` command
+ for details.
``angle`` (RW)
Current DVD angle.
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 18ac7fd2f0..2bd76fa800 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -261,8 +261,13 @@ Playback Control
``--ab-loop-a=<time>``, ``--ab-loop-b=<time>``
Set loop points. If playback passes the ``b`` timestamp, it will seek to
the ``a`` timestamp. Seeking past the ``b`` point doesn't loop (this is
- intentional). The loop-points can be adjusted at runtime with the
- corresponding properties. See also ``ab_loop`` command.
+ intentional).
+
+ If both options are set to ``no``, looping is disabled. Otherwise, the
+ start/end of the file is used if one of the options is set to ``no``.
+
+ The loop-points can be adjusted at runtime with the corresponding
+ properties. See also ``ab-loop`` command.
``--ordered-chapters``, ``--no-ordered-chapters``
Enabled by default.