diff options
Diffstat (limited to 'mpvcore/input')
-rw-r--r-- | mpvcore/input/input.c | 5 | ||||
-rw-r--r-- | mpvcore/input/input.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c index c78447c4bf..4ce7fe0156 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -232,6 +232,11 @@ static const mp_cmd_t mp_cmds[] = { { MP_CMD_SCRIPT_DISPATCH, "script_dispatch", { ARG_STRING, ARG_INT } }, + { MP_CMD_OVERLAY_ADD, "overlay_add", + { ARG_INT, ARG_INT, ARG_INT, ARG_STRING, ARG_INT, ARG_STRING, ARG_INT, + ARG_INT, ARG_INT }}, + { MP_CMD_OVERLAY_REMOVE, "overlay_remove", { ARG_INT } }, + {0} }; diff --git a/mpvcore/input/input.h b/mpvcore/input/input.h index 33c269c1a7..dc308ff9f6 100644 --- a/mpvcore/input/input.h +++ b/mpvcore/input/input.h @@ -89,6 +89,9 @@ enum mp_command_type { /// Internal for Lua scripts MP_CMD_SCRIPT_DISPATCH, + MP_CMD_OVERLAY_ADD, + MP_CMD_OVERLAY_REMOVE, + // Internal MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p }; |