summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-31 16:33:20 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit0c5df2965ee2406b5440d063c6e6e3c6b88c6e72 (patch)
tree71a2555a176098a569cf9660807548163ef51e44 /DOCS
parent8812530b312c8beeaeefdaaa54fc26cf779cb3c2 (diff)
downloadmpv-0c5df2965ee2406b5440d063c6e6e3c6b88c6e72.tar.bz2
mpv-0c5df2965ee2406b5440d063c6e6e3c6b88c6e72.tar.xz
options: rename --play-direction to --play-dir
And add simpler aliases for the modes. I'm not sure how to name things, and the option list is in general full of different conventions. Some names are shortened, some are explicit and long. I guess options that have a chance to be used normally (i.e. not obscure tuning or debugging) should have a short and convenient names. In this specific case, play-direction is like a mixture of both. It should be either playback-direction or play-dir, not shorten one word but not the other. The convenience aliases are because I got sick of typing out "backward". I guess "back" would also do it, but there's no proper antonym (and maybe it's "wrong" in the strict sense of the word).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 0a081c3363..f3039b916b 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -379,13 +379,15 @@ Playback Control
of them fails. This doesn't affect playback of audio-only or video-only
files.
-``--play-direction=<forward|backward>``
+``--play-dir=<forward|+|backward|->``
Control the playback direction (default: forward). Setting ``backward``
will attempt to play the file in reverse direction, with decreasing
playback time. If this is set on playback starts, playback will start from
the end of the file. If this is changed at during playback, a hr-seek will
be issued to change the direction.
+ ``+`` and ``-`` are aliases for ``forward`` and ``backward``.
+
The rest of this option description pertains to the ``backward`` mode.
.. note::
@@ -568,7 +570,7 @@ Playback Control
``--demuxer-backward-playback-step=<seconds>``
Number of seconds the demuxer should seek back to get new packets during
backward playback (default: 60). This is useful for tuning backward
- playback, see ``--play-direction`` for details.
+ playback, see ``--play-dir`` for details.
Setting this to a very low value or 0 may make the player think seeking is
broken, or may make it perform multiple seeks.