summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/filter/af.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c
index 9c39173f1b..cfe4b401df 100644
--- a/audio/filter/af.c
+++ b/audio/filter/af.c
@@ -527,6 +527,8 @@ static int af_reinit(struct af_stream *s)
in.len = 0;
int rv = af->control(af, AF_CONTROL_REINIT, &in);
+ if (rv == AF_OK && !mp_audio_config_equals(&in, af->prev->data))
+ rv = AF_FALSE; // conversion filter needed
switch (rv) {
case AF_OK:
af = af->next;