summaryrefslogtreecommitdiffstats
path: root/mpvcore/input
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/input')
-rw-r--r--mpvcore/input/input.c1
-rw-r--r--mpvcore/input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c
index 744d474919..b454d3f574 100644
--- a/mpvcore/input/input.c
+++ b/mpvcore/input/input.c
@@ -151,6 +151,7 @@ static const struct mp_cmd_def mp_cmds[] = {
},
.allow_auto_repeat = true,
},
+ { MP_CMD_REVERT_SEEK, "revert_seek", },
{ MP_CMD_QUIT, "quit", { OARG_INT(0) } },
{ MP_CMD_QUIT_WATCH_LATER, "quit_watch_later", },
{ MP_CMD_STOP, "stop", },
diff --git a/mpvcore/input/input.h b/mpvcore/input/input.h
index 27db11705e..9e897abbbb 100644
--- a/mpvcore/input/input.h
+++ b/mpvcore/input/input.h
@@ -27,6 +27,7 @@
enum mp_command_type {
MP_CMD_IGNORE,
MP_CMD_SEEK,
+ MP_CMD_REVERT_SEEK,
MP_CMD_QUIT,
MP_CMD_QUIT_WATCH_LATER,
MP_CMD_PLAYLIST_NEXT,