spectrum: call the instance var spectrum instead of filter

This commit is contained in:
Stefan Kost 2011-03-09 11:18:19 +02:00
parent d8d6a3b79e
commit 2fd09ebd89

View file

@ -415,9 +415,9 @@ gst_spectrum_stop (GstBaseTransform * trans)
static gboolean
gst_spectrum_setup (GstAudioFilter * base, GstRingBufferSpec * format)
{
GstSpectrum *filter = GST_SPECTRUM (base);
GstSpectrum *spectrum = GST_SPECTRUM (base);
gst_spectrum_reset_state (filter);
gst_spectrum_reset_state (spectrum);
return TRUE;
}