summaryrefslogtreecommitdiff
path: root/gst/tta/gstttaparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/tta/gstttaparse.c')
-rw-r--r--gst/tta/gstttaparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c
index 8bdaf8bae..4438941bf 100644
--- a/gst/tta/gstttaparse.c
+++ b/gst/tta/gstttaparse.c
@@ -118,7 +118,7 @@ gst_tta_parse_class_init (GstTtaParseClass * 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);
gobject_class->dispose = gst_tta_parse_dispose;
gstelement_class->change_state = gst_tta_parse_change_state;