summaryrefslogtreecommitdiffstats
path: root/ext/faad
diff options
context:
space:
mode:
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 56f38a4e..3be8fd92 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -404,6 +404,7 @@ gst_faad_chain (GstPad *pad,
gst_buffer_unref (buf);
return;
}
+
if (info.samplerate != faad->samplerate ||
info.channels != faad->channels) {
faad->samplerate = info.samplerate;