summaryrefslogtreecommitdiffstats
path: root/gst/id3demux/gstid3demux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/id3demux/gstid3demux.c')
-rw-r--r--gst/id3demux/gstid3demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index ed7c6260..b2eb3159 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -163,7 +163,7 @@ gst_id3demux_class_init (GstID3DemuxClass * 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_id3demux_dispose;