diff options
author | wm4 <wm4@nowhere> | 2017-08-14 20:01:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-14 20:01:08 +0200 |
commit | 817bb2bbbe26a77d896abd2489c125cd79aa000e (patch) | |
tree | eb4a321bf08c69bf2401d789e3154c2abc8f43f3 /DOCS | |
parent | df8cc84f4782334015393b2dee669830d1cca516 (diff) | |
download | mpv-817bb2bbbe26a77d896abd2489c125cd79aa000e.tar.bz2 mpv-817bb2bbbe26a77d896abd2489c125cd79aa000e.tar.xz |
options: change --loop semantics
As announced by the previous deprecation.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 3 | ||||
-rw-r--r-- | DOCS/man/options.rst | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 2163fc4066..e3ef936551 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -40,6 +40,9 @@ Interface changes weird behavior. - add --track-auto-selection to help with scripts/applications that make exclusive use of --lavfi-complex. + - undeprecate --loop, and map it from --loop-playlist to --loop-file (the + deprecation was to make sure no API user gets broken by a sudden behavior + change) --- mpv 0.26.0 --- - remove remaining deprecated audio device options, like --alsa-device Some of them were removed in earlier releases. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 3de554f07c..79a4d52568 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -299,11 +299,7 @@ Playback Control time trying to loop a file that doesn't exist. But it might be useful for playing webradios under very bad network conditions. -``--loop`` - Currently a deprecated alias to ``--loop-playlist``. After a deprecation - period, it will be undeprecated, but changed to alias ``--loop-file``. - -``--loop-file=<N|inf|no>`` +``--loop-file=<N|inf|no>``, ``--loop=<N|inf|no>`` Loop a single file N times. ``inf`` means forever, ``no`` means normal playback. For compatibility, ``--loop-file`` and ``--loop-file=yes`` are also accepted, and are the same as ``--loop-file=inf``. @@ -313,6 +309,8 @@ Playback Control difference between the two option is that this option performs a seek on loop, instead of reloading the file. + ``--loop`` is an alias for this option. + ``--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 |