af_scaletempo2: fix bug where speed was not set

the --speed parameter did not work with
mpv --no-config whatever.mp3 --video=no --speed=2 --af=scaletempo2
(https://github.com/mpv-player/mpv/pull/7865#issuecomment-664243401)
This commit is contained in:
Dorian Rudolph 2020-07-27 14:35:25 +02:00 committed by wm4
parent 1fe6def066
commit 6e3d4aa94b
1 changed files with 0 additions and 1 deletions

View File

@ -138,7 +138,6 @@ static bool init_scaletempo2(struct mp_filter *f)
p->initialized = true;
p->sent_final = false;
p->frame_delay = 0;
p->speed = 1;
mp_aframe_config_copy(p->cur_format, p->pending);
mp_scaletempo2_init(&p->data, mp_aframe_get_channels(p->pending),