summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2021-01-03 12:13:35 -0500
committerLeo Izen <leo.izen@gmail.com>2021-01-07 09:15:29 -0500
commitd5ab5482a9b35650600ca68bcfee752995e8337b (patch)
tree4dc422ecfe17aa282b78912a45bab67fb39b514c
parent1251f7bbf9f74431325b968d2c02bb4425970710 (diff)
downloadmpv-d5ab5482a9b35650600ca68bcfee752995e8337b.tar.bz2
mpv-d5ab5482a9b35650600ca68bcfee752995e8337b.tar.xz
manpage: document off-by-one loop-file behavior
loop-file counts the number of zero-seeks, not playthroughs, which makes its counter off by one compared to loop-playlist.
-rw-r--r--DOCS/man/options.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 3beda8b00d..16625fe0c4 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -392,6 +392,11 @@ Playback Control
difference between the two option is that this option performs a seek on
loop, instead of reloading the file.
+ Note that ``--loop-file`` counts the number of times it causes the player to
+ seek to the beginning of the file, not the number of full playthroughs. This
+ means ``--loop-file=1`` will end up playing the file twice. Contrast with
+ ``--loop-playlist``, which counts the number of full playthroughs.
+
``--loop`` is an alias for this option.
``--ab-loop-a=<time>``, ``--ab-loop-b=<time>``