equalizer: fix switching from passthrough to non-passthrough when parameters change
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 17 Feb 2012 17:21:53 +0000 (17:21 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 17 Feb 2012 18:45:42 +0000 (18:45 +0000)
commitf6c2fcbc40d7a66bfaa06efe338200889c733bc3
tree76fb878a7ad48065f76a1ea7f71059ecf5308e1f
parent34590419499b4914966833c208bbe5d7e892853b
equalizer: fix switching from passthrough to non-passthrough when parameters change

commit b5bf0294 moved the if(need_new_coefficients) set_passthrough(equ)
after the if(is_passthrough) return FLOW_OK shortcut, so the passthrough
mode would never get updated even if the coefficients change.

Fixes equalizer-test doing .. nothing.
gst/equalizer/gstiirequalizer.c