From 3ca3d1de2be92a73018d06e2cc14b258328bdaf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Oct 2008 08:30:51 +0000 Subject: [PATCH] gst/equalizer/gstiirequalizer.c: Don't calculate the filter coefficients for every single buffer but only when it's n... Original commit message from CVS: * gst/equalizer/gstiirequalizer.c: (update_coefficients): Don't calculate the filter coefficients for every single buffer but only when it's needed. Fixes bug #557260. --- ChangeLog | 6 ++++++ gst/equalizer/gstiirequalizer.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index cf4e620..86e5d93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-27 Sebastian Dröge + + * gst/equalizer/gstiirequalizer.c: (update_coefficients): + Don't calculate the filter coefficients for every single buffer + but only when it's needed. Fixes bug #557260. + 2008-10-26 Jan Schmidt * configure.ac: diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index 30743d8..8a87e93 100644 --- a/gst/equalizer/gstiirequalizer.c +++ b/gst/equalizer/gstiirequalizer.c @@ -470,6 +470,7 @@ update_coefficients (GstIirEqualizer * equ) for (i = 0; i < equ->freq_band_count; i++) { setup_filter (equ, equ->bands[i]); } + equ->need_new_coefficients = FALSE; } void -- 2.7.4