From 6e3d4aa94b170fa6de1bdda32d799cef8648167d Mon Sep 17 00:00:00 2001 From: Dorian Rudolph Date: Mon, 27 Jul 2020 14:35:25 +0200 Subject: 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) --- audio/filter/af_scaletempo2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audio/filter/af_scaletempo2.c b/audio/filter/af_scaletempo2.c index 47ca4276b5..ceac919d5d 100644 --- a/audio/filter/af_scaletempo2.c +++ b/audio/filter/af_scaletempo2.c @@ -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), -- cgit v1.2.3