From cb604d5412f0eb87d030d75f5ca44370fdfa26f6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 Sep 2016 21:01:59 +0200 Subject: command: add an apply-profile command This will actually update all associated options (which is trivial now with the recent changes). --- input/cmd_list.c | 2 ++ input/cmd_list.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index bc3c622075..f6db9cbba8 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -224,6 +224,8 @@ const struct mp_cmd_def mp_cmds[] = { {"reselect", 1})), }}, + { MP_CMD_APPLY_PROFILE, "apply-profile", {ARG_STRING } }, + {0} }; diff --git a/input/cmd_list.h b/input/cmd_list.h index e1018c38aa..e0fd8fa2de 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -114,6 +114,8 @@ enum mp_command_type { MP_CMD_RESCAN_EXTERNAL_FILES, + MP_CMD_APPLY_PROFILE, + // Internal MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p }; -- cgit v1.2.3