This will actually update all associated options (which is trivial now with the recent changes).
Showing the changes to input (2 of 4 files). Show all
Unified · Split
| @@ -224,6 +224,8 @@ const struct mp_cmd_def mp_cmds[] = { · 223 unmodified lines | ||
| 224 | 224 | {"reselect", 1})), |
| 225 | 225 | }}, |
| 226 | 226 | |
| 227 | + { MP_CMD_APPLY_PROFILE, "apply-profile", {ARG_STRING } }, | |
| 228 | + | |
| 227 | 229 | {0} |
| 228 | 230 | }; |
| 229 | 231 | |
| @@ -114,6 +114,8 @@ enum mp_command_type { · 113 unmodified lines | ||
| 114 | 114 | |
| 115 | 115 | MP_CMD_RESCAN_EXTERNAL_FILES, |
| 116 | 116 | |
| 117 | + MP_CMD_APPLY_PROFILE, | |
| 118 | + | |
| 117 | 119 | // Internal |
| 118 | 120 | MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p |
| 119 | 121 | }; |