summaryrefslogtreecommitdiffstats
path: root/gst/filter
diff options
context:
space:
mode:
Diffstat (limited to 'gst/filter')
-rw-r--r--gst/filter/gstbpwsinc.c2
-rw-r--r--gst/filter/gstiir.c2
-rw-r--r--gst/filter/gstlpwsinc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c
index c96da82f..ad77d432 100644
--- a/gst/filter/gstbpwsinc.c
+++ b/gst/filter/gstbpwsinc.c
@@ -153,7 +153,7 @@ gst_bpwsinc_class_init (GstBPWSincClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_LOWER_FREQUENCY,
g_param_spec_double ("lower-frequency", "Lower Frequency",
diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c
index 1aee2d5f..bee9e0fc 100644
--- a/gst/filter/gstiir.c
+++ b/gst/filter/gstiir.c
@@ -138,7 +138,7 @@ gst_iir_class_init (GstIIRClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_A,
g_param_spec_double ("A", "A", "A filter coefficient",
diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c
index a69c20f7..8ebfc4fb 100644
--- a/gst/filter/gstlpwsinc.c
+++ b/gst/filter/gstlpwsinc.c
@@ -151,7 +151,7 @@ gst_lpwsinc_class_init (GstLPWSincClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FREQUENCY,
g_param_spec_double ("frequency", "Frequency",