diff options
author | Martin <Martin@martins-macbook.lan> | 2014-05-26 18:11:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-26 21:59:17 +0200 |
commit | 9c18a920ff0c5af3ed8868d38081e5ccb4d9ddc1 (patch) | |
tree | 80804df8cffbcedf9a3b1f331c239bf3bf4506ab /input | |
parent | 0e1ab2a8da8dee6caf1ce0e6604b9a1ba5f3f7fd (diff) | |
download | mpv-9c18a920ff0c5af3ed8868d38081e5ccb4d9ddc1.tar.bz2 mpv-9c18a920ff0c5af3ed8868d38081e5ccb4d9ddc1.tar.xz |
command: add write_watch_later_config command
Closes #808.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'input')
-rw-r--r-- | input/cmd_list.c | 2 | ||||
-rw-r--r-- | input/cmd_list.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c index 101ffbf0a8..9d4409ed8e 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -177,6 +177,8 @@ const struct mp_cmd_def mp_cmds[] = { ARG_INT, ARG_INT }}, { MP_CMD_OVERLAY_REMOVE, "overlay_remove", { ARG_INT } }, + { MP_CMD_WRITE_WATCH_LATER_CONFIG, "write_watch_later_config", }, + {0} }; diff --git a/input/cmd_list.h b/input/cmd_list.h index 0ed5b1d90b..b4085decb8 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -106,6 +106,8 @@ enum mp_command_type { MP_CMD_OVERLAY_ADD, MP_CMD_OVERLAY_REMOVE, + MP_CMD_WRITE_WATCH_LATER_CONFIG, + // Internal MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p }; |