summaryrefslogtreecommitdiffstats
path: root/mpvcore/input/input.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-01 02:07:32 +0100
committerwm4 <wm4@nowhere>2013-12-01 02:07:32 +0100
commit48e10da5019d8103fdde96bca68d72ddb1d7f2ca (patch)
tree4c52fefdd88307015a34167afcf7b2d460025bf3 /mpvcore/input/input.c
parentb18f02d1ad5e5ce4031438f1cd0f1f3aaaf83003 (diff)
downloadmpv-48e10da5019d8103fdde96bca68d72ddb1d7f2ca.tar.bz2
mpv-48e10da5019d8103fdde96bca68d72ddb1d7f2ca.tar.xz
command: add a revert_seek command
As discussed on IRC.
Diffstat (limited to 'mpvcore/input/input.c')
-rw-r--r--mpvcore/input/input.c1
1 files changed, 1 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", },