summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-12-03 17:00:33 -0800
committerJan Ekström <jeebjp@gmail.com>2017-12-06 20:50:31 +0200
commit0c6a488ef9995357e90dd0d0290e9cf97f7f1dda (patch)
tree851d76c43b36d6e3b26a3d38bea1c200f8e8ef51 /DOCS
parenta2e34b6f4166ca6dbaeedcc9ad7ac9b518644388 (diff)
downloadmpv-0c6a488ef9995357e90dd0d0290e9cf97f7f1dda.tar.bz2
mpv-0c6a488ef9995357e90dd0d0290e9cf97f7f1dda.tar.xz
options: add --start=none to reset previously set start time
Previously when using a libmpv instance to play multiple videos, once --start was set there was no clear way to unset it. You could use --start=0, but 0 does not always mean the beginning of the file (especially when using --rebase-start-time=no). Looking up the start timestamp and passing that in also does not always work, particularly when the first timestamp is negative (since negative values to --start have a special meaning). This commit adds a new "none" value which maps to the internal REL_TIME_NONE, matching the default value of the play_start option.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 63943f5f26..ffdde88676 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -107,6 +107,8 @@ Playback Control
``#c`` seeks to chapter number c. (Chapters start from 1.)
+ ``none`` resets any previously set option (useful for libmpv).
+
.. admonition:: Examples
``--start=+56``, ``--start=+00:56``