summaryrefslogtreecommitdiffstats
path: root/ext/shout2
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shout2')
-rw-r--r--ext/shout2/gstshout2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c
index f8933ddb..522f8a3f 100644
--- a/ext/shout2/gstshout2.c
+++ b/ext/shout2/gstshout2.c
@@ -167,7 +167,7 @@ gst_shout2send_class_init (GstShout2sendClass * klass)
gobject_class = (GObjectClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_shout2send_set_property;
gobject_class->get_property = gst_shout2send_get_property;