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:35:54 +0000 (18:35 +0000)
commitf76f7374ea2227b8422aa6c3b1e084fff0180d0a
treef0b2199b25bab533ceec254f1900b58ccd0949b6
parent5cb42081a5c401192cc5b2897181eb05e260adab
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