summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-18 00:09:42 +0100
committerwm4 <wm4@nowhere>2014-11-18 01:36:35 +0100
commit4bd6c91d9b4c4d35d0d71793933947861e45daad (patch)
tree1c22de1369e8ec8028e20560a653d9ba7deba371 /DOCS
parented5923437848bb4c1afa7104c29f21c7a44743f0 (diff)
downloadmpv-4bd6c91d9b4c4d35d0d71793933947861e45daad.tar.bz2
mpv-4bd6c91d9b4c4d35d0d71793933947861e45daad.tar.xz
command: implement A-B loops
Probably needs to be polished a bit more. Also, might require a key binding that can set/clear the loop points in a more intuitive way. For now, something like this can be put into input.conf to use it: ctrl+y set ab-loop-a ${time-pos} # set A ctrl+x set ab-loop-b ${time-pos} # set B ctrl+c set ab-loop-a no # clear (mostly) Fixes #1241.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst3
-rw-r--r--DOCS/man/options.rst6
2 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 20c61f38a1..0e9b245ad8 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -778,6 +778,9 @@ Property list
"title" MPV_FORMAT_STRING
"default" MPV_FORMAT_FLAG
+``ab-loop-a``, ``ab-loop-b`` (TW)
+ Set/get A-B loop points. See corresponding options.
+
``angle`` (RW)
Current DVD angle.
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index feaeac6b30..39fe8ffa92 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -229,6 +229,12 @@ Playback Control
between the two option is that this option performs a seek on loop, instead
of reloading the file.
+``--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.
+
``--ordered-chapters``, ``--no-ordered-chapters``
Enabled by default.
Disable support for Matroska ordered chapters. mpv will not load or