diff options
author | Dan Oscarsson <DanOscarsson@users.noreply.github.com> | 2017-03-27 11:34:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-14 17:43:34 +0200 |
commit | ae0a40259fa9ce45d34c966da067e20a69156330 (patch) | |
tree | ff0213b28768301da56bde1b8587996489de3307 /DOCS | |
parent | 7b84297699214a9e35eb7d4d447d29e62c26892f (diff) | |
download | mpv-ae0a40259fa9ce45d34c966da067e20a69156330.tar.bz2 mpv-ae0a40259fa9ce45d34c966da067e20a69156330.tar.xz |
player: add --keep-open-pause=no option
Instead of pausing if --keep-open is active, stop
at end but continue playing if seeking backwards.
And then stop again when end is reached.
Signed-off-by: wm4 <wm4@nowhere>
Over the PR, the option was renamed, and the manpage additions were
slightly changed/enhanced.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/options.rst | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index f3605016a8..d2618e1945 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -43,6 +43,7 @@ Interface changes moved to "somewhere else" syntax-wise. - deprecate --loop - after a deprecation period, it will be undeprecated, but changed to alias --loop-file + - add --keep-open-pause=no --- mpv 0.24.0 --- - deprecate --hwdec-api and replace it with --opengl-hwdec-interop. The new option accepts both --hwdec values, as well as named backends. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 7ca4b1d542..5814a41634 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2070,6 +2070,9 @@ Window Instead, pause the player. When trying to seek beyond end of the file, the player will attempt to seek to the last frame. + Normally, this will act like ``set pause yes`` on EOF, unless the + ``--keep-open-pause=no`` option is set. + The following arguments can be given: :no: If the current file ends, go to the next file or terminate. @@ -2096,6 +2099,11 @@ Window file.mkv normally, then fail to open ``/dev/null``, then exit). (In mpv 0.8.0, ``always`` was introduced, which restores the old behavior.) +``--keep-open-pause=<yes|no>`` + If set to ``no``, instead of pausing when ``--keep-open`` is active, just + stop at end of file and continue playing forward when you seek backwards + until end where it stops again. Default: ``yes``. + ``--image-display-duration=<seconds|inf>`` If the current file is an image, play the image for the given amount of seconds (default: 1). ``inf`` means the file is kept open forever (until |