diff options
Diffstat (limited to 'gst/tta')
-rw-r--r-- | gst/tta/gstttadec.c | 2 | ||||
-rw-r--r-- | gst/tta/gstttaparse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index a74041ec..6e894241 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -206,7 +206,7 @@ gst_tta_dec_class_init (GstTtaDecClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - parent = g_type_class_ref (GST_TYPE_ELEMENT); + parent = g_type_class_peek_parent (klass); gobject_class->dispose = gst_tta_dec_dispose; } diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index 8bdaf8ba..4438941b 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; |