diff options
author | Dorian Rudolph <dorianrudo97@googlemail.com> | 2020-07-27 14:35:25 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-07-27 18:12:05 +0200 |
commit | 6e3d4aa94b170fa6de1bdda32d799cef8648167d (patch) | |
tree | c0d361335d0e822c5101825dbe331c5761fb4c9f | |
parent | 1fe6def066ec9955fb8cbbe18954802655f52a23 (diff) | |
download | mpv-6e3d4aa94b170fa6de1bdda32d799cef8648167d.tar.bz2 mpv-6e3d4aa94b170fa6de1bdda32d799cef8648167d.tar.xz |
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)
-rw-r--r-- | audio/filter/af_scaletempo2.c | 1 |
1 files changed, 0 insertions, 1 deletions
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), |