From 950999dd7bcf863535634e2ac227d19979beadd4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Sep 2012 01:48:27 +0200 Subject: commands: remove speed_set/speed_incr commands Redundant with set/switch commands. --- input/input.c | 4 ++-- input/input.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 7d751ea1bf..a4575d8f37 100644 --- a/input/input.c +++ b/input/input.c @@ -101,9 +101,7 @@ static const mp_cmd_t mp_cmds[] = { #endif { MP_CMD_SEEK, "seek", { ARG_FLOAT, OARG_INT(0), OARG_INT(0) } }, { MP_CMD_EDL_MARK, "edl_mark", }, - { MP_CMD_SPEED_INCR, "speed_incr", { ARG_FLOAT } }, { MP_CMD_SPEED_MULT, "speed_mult", { ARG_FLOAT } }, - { MP_CMD_SPEED_SET, "speed_set", { ARG_FLOAT } }, { MP_CMD_QUIT, "quit", { OARG_INT(0) } }, { MP_CMD_STOP, "stop", }, { MP_CMD_FRAME_STEP, "frame_step", }, @@ -198,6 +196,8 @@ static const struct legacy_cmd legacy_cmds[] = { {"step_property", "no-osd switch"}, {"set_property", "no-osd set"}, {"set_property_osd", "set"}, + {"speed_set", "set speed"}, + // Approximate {"pt_step 1", "playlist_next"}, {"pt_step -1", "playlist_prev"}, {0} diff --git a/input/input.h b/input/input.h index 52fdfb956b..aed05af78f 100644 --- a/input/input.h +++ b/input/input.h @@ -44,9 +44,7 @@ enum mp_command_type { MP_CMD_TV_SET_NORM, MP_CMD_SWITCH_RATIO, MP_CMD_FRAME_STEP, - MP_CMD_SPEED_INCR, MP_CMD_SPEED_MULT, - MP_CMD_SPEED_SET, MP_CMD_RUN, MP_CMD_SUB_LOAD, MP_CMD_KEYDOWN_EVENTS, -- cgit v1.2.3