summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/input.c3
-rw-r--r--input/input.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 91b55d2aeb..f99c3218dc 100644
--- a/input/input.c
+++ b/input/input.c
@@ -221,6 +221,9 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_AF_DEL, "af_del", { ARG_STRING } },
{ MP_CMD_AF_CLR, "af_clr", },
{ MP_CMD_AF_CMDLINE, "af_cmdline", { ARG_STRING, ARG_STRING } },
+
+ { MP_CMD_SHOW_CHAPTERS, "show_chapters_osd", },
+
{0}
};
diff --git a/input/input.h b/input/input.h
index 87814dd56c..9bbf6bf7df 100644
--- a/input/input.h
+++ b/input/input.h
@@ -153,6 +153,8 @@ enum mp_command_type {
MP_CMD_AF_DEL,
MP_CMD_AF_CLR,
MP_CMD_AF_CMDLINE,
+
+ MP_CMD_SHOW_CHAPTERS,
};
// The arg types