summaryrefslogtreecommitdiffstats
path: root/mpvcore/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-31 23:25:55 +0100
committerwm4 <wm4@nowhere>2013-10-31 23:30:14 +0100
commit39fc0060fb1a2889256e56c1e33421d21ac0f8cf (patch)
treeb9b6133481dbeebb4af264a0c6f23e89b3510f6d /mpvcore/player
parent71ded03123a704ddcbf018dcb0ec633475ccb04a (diff)
downloadmpv-39fc0060fb1a2889256e56c1e33421d21ac0f8cf.tar.bz2
mpv-39fc0060fb1a2889256e56c1e33421d21ac0f8cf.tar.xz
command: replace speed_mult with multiply command
The compatibility layer still takes care of the old speed_mult command.
Diffstat (limited to 'mpvcore/player')
-rw-r--r--mpvcore/player/command.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mpvcore/player/command.c b/mpvcore/player/command.c
index 172a799c03..bacc37aa27 100644
--- a/mpvcore/player/command.c
+++ b/mpvcore/player/command.c
@@ -2542,14 +2542,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
break;
}
- case MP_CMD_SPEED_MULT: {
- double v = cmd->args[0].v.d * cmd->scale;
- v *= mpctx->opts->playback_speed;
- mp_property_do("speed", M_PROPERTY_SET, &v, mpctx);
- show_property_osd(mpctx, "speed", cmd->on_osd);
- break;
- }
-
case MP_CMD_FRAME_STEP:
add_step_frame(mpctx, 1);
break;