summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/audio.c')
-rw-r--r--mpvcore/player/audio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mpvcore/player/audio.c b/mpvcore/player/audio.c
index 97c446942f..3bf338c21d 100644
--- a/mpvcore/player/audio.c
+++ b/mpvcore/player/audio.c
@@ -52,8 +52,7 @@ static int build_afilter_chain(struct MPContext *mpctx)
mp_audio_buffer_get_format(mpctx->sh_audio->decode_buffer, &in_format);
int new_srate;
- if (af_control_any_rev(sh_audio->afilter,
- AF_CONTROL_PLAYBACK_SPEED | AF_CONTROL_SET,
+ if (af_control_any_rev(sh_audio->afilter, AF_CONTROL_SET_PLAYBACK_SPEED,
&opts->playback_speed))
new_srate = in_format.rate;
else {