diff options
author | wm4 <wm4@nowhere> | 2012-08-19 18:06:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-09-07 16:06:36 +0200 |
commit | 1fb275b7de1f58a14182594996930860295af6c4 (patch) | |
tree | cd9580d665920bc782eda89637c46205cb761233 /input | |
parent | 330c90cbb8583ac41547bcd3d7259bc7b9e6a3b5 (diff) | |
download | mpv-1fb275b7de1f58a14182594996930860295af6c4.tar.bz2 mpv-1fb275b7de1f58a14182594996930860295af6c4.tar.xz |
command: remove sub_remove command
This messes deeply with the subtitle bookkeeping data structures, and
would have to be reimplemented anyway.
It's not sure what this was even useful for. Possibly for slave mode.
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 | ||||
-rw-r--r-- | input/input.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index 34b8f019b8..4ea9e0c531 100644 --- a/input/input.c +++ b/input/input.c @@ -132,7 +132,6 @@ static const mp_cmd_t mp_cmds[] = { { MP_CMD_SUB_ALIGNMENT, "sub_alignment", { OARG_INT(-1) } }, { MP_CMD_SUB_VISIBILITY, "sub_visibility", { OARG_INT(-1) } }, { MP_CMD_SUB_LOAD, "sub_load", { ARG_STRING } }, - { MP_CMD_SUB_REMOVE, "sub_remove", { OARG_INT(-1) } }, { MP_CMD_SUB_SELECT, "vobsub_lang", { OARG_INT(-2) } }, // for compatibility { MP_CMD_SUB_SELECT, "sub_select", { OARG_INT(-2) } }, { MP_CMD_SUB_SOURCE, "sub_source", { OARG_INT(-2) } }, diff --git a/input/input.h b/input/input.h index 2460492df7..e1e333c486 100644 --- a/input/input.h +++ b/input/input.h @@ -84,7 +84,6 @@ enum mp_command_type { MP_CMD_SWITCH_AUDIO, MP_CMD_GET_TIME_POS, MP_CMD_SUB_LOAD, - MP_CMD_SUB_REMOVE, MP_CMD_KEYDOWN_EVENTS, MP_CMD_VO_BORDER, MP_CMD_SET_PROPERTY, |