From ede3039046ce875b17ac425f584d29981f2ddcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 8 Aug 2007 20:47:33 +0000 Subject: gst/filter/: Use GstAudioFilter as base class and don't leak the memory of the filter kernel and residue. Original commit message from CVS: * gst/filter/Makefile.am: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose), (gst_bpwsinc_base_init), (gst_bpwsinc_class_init), (gst_bpwsinc_init), (bpwsinc_setup): * gst/filter/gstbpwsinc.h: * gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose), (gst_lpwsinc_base_init), (gst_lpwsinc_class_init), (gst_lpwsinc_init), (lpwsinc_setup): * gst/filter/gstlpwsinc.h: Use GstAudioFilter as base class and don't leak the memory of the filter kernel and residue. --- gst/filter/gstbpwsinc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/filter/gstbpwsinc.h') diff --git a/gst/filter/gstbpwsinc.h b/gst/filter/gstbpwsinc.h index 1d825dec..af5938d5 100644 --- a/gst/filter/gstbpwsinc.h +++ b/gst/filter/gstbpwsinc.h @@ -36,7 +36,7 @@ #include "gstfilter.h" #include -#include +#include G_BEGIN_DECLS @@ -60,7 +60,7 @@ typedef struct _GstBPWSincClass GstBPWSincClass; * Opaque data structure. */ struct _GstBPWSinc { - GstBaseTransform element; + GstAudioFilter element; double frequency; double lower_frequency, upper_frequency; @@ -72,7 +72,7 @@ struct _GstBPWSinc { }; struct _GstBPWSincClass { - GstBaseTransformClass parent_class; + GstAudioFilterClass parent_class; }; G_END_DECLS -- cgit v1.2.1