summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-26 21:49:14 +0200
committerwm4 <wm4@nowhere>2014-05-26 21:59:30 +0200
commit6710527a832a253439cb31862bd568380f41efec (patch)
treebad6493f7eea0dc51f71b5ab4a6f0be8f6079274 /input/cmd_list.h
parentfbe59b23b1060cc98577afc883f9efbed9d8eebd (diff)
downloadmpv-6710527a832a253439cb31862bd568380f41efec.tar.bz2
mpv-6710527a832a253439cb31862bd568380f41efec.tar.xz
input: make combined commands repeatable
Binding multiple commands at once where always considered not repeatable, because the MP_CMD_COMMAND_LIST wasn't considered repeatable. Fixes #807 (probably).
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r--input/cmd_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h
index b4085decb8..f061814f23 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -116,6 +116,8 @@ enum mp_command_type {
struct mp_cmd;
bool mp_input_is_abort_cmd(struct mp_cmd *cmd);
+bool mp_input_is_repeatable_cmd(struct mp_cmd *cmd);
+
struct bstr;
bool mp_replace_legacy_cmd(void *talloc_ctx, struct bstr *s);