mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
command: extend revert_seek command
"revert_seek mark" basically forces the seekback point. It's basically a one-way bookmark.
This commit is contained in:
@@ -69,7 +69,9 @@ const struct mp_cmd_def mp_cmds[] = {
|
||||
},
|
||||
.allow_auto_repeat = true,
|
||||
},
|
||||
{ MP_CMD_REVERT_SEEK, "revert_seek", },
|
||||
{ MP_CMD_REVERT_SEEK, "revert_seek", {
|
||||
OARG_CHOICE(0, ({"-", 0}, {"mark", 1})),
|
||||
}},
|
||||
{ MP_CMD_QUIT, "quit", { OARG_INT(0) } },
|
||||
{ MP_CMD_QUIT_WATCH_LATER, "quit_watch_later", { OARG_INT(0) } },
|
||||
{ MP_CMD_STOP, "stop", },
|
||||
|
||||
Reference in New Issue
Block a user