diff options
author | wm4 <wm4@nowhere> | 2014-12-17 22:56:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-17 22:56:45 +0100 |
commit | c721948efe497d0e1951bddeec9e7a60c6763945 (patch) | |
tree | e8fff959abf30a04d97ce96a0749a3dbc0d19b74 /DOCS | |
parent | 649e337f4d5efce70211de22b6573230f5b77f0a (diff) | |
download | mpv-c721948efe497d0e1951bddeec9e7a60c6763945.tar.bz2 mpv-c721948efe497d0e1951bddeec9e7a60c6763945.tar.xz |
command: extend revert_seek command
"revert_seek mark" basically forces the seekback point. It's basically a
one-way bookmark.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/input.rst | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 5bfa7c3150..9f1f6fc582 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -109,11 +109,20 @@ List of Input Commands keyframes Always restart playback at keyframe boundaries (fast). -``revert_seek`` +``revert_seek [mode]`` Undoes the ``seek`` command, and some other commands that seek (but not necessarily all of them). Calling this command once will jump to the playback position before the seek. Calling it a second time undoes the - ``revert_seek`` command itself. + ``revert_seek`` command itself. This only works within a single file. + + The first argument is optional, and can change the behavior: + + mark + Mark the current time position. The next normal ``revert_seek`` command + will seek back to this point, no matter how many seeks happened since + last time. + + Using it without any arguments gives you the default behavior. ``frame_step`` Play one frame, then pause. Does nothing with audio-only playback. |