summaryrefslogtreecommitdiff
path: root/gst/udp/gstdynudpsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp/gstdynudpsink.c')
-rw-r--r--gst/udp/gstdynudpsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstdynudpsink.c b/gst/udp/gstdynudpsink.c
index a9289c910..a332902f5 100644
--- a/gst/udp/gstdynudpsink.c
+++ b/gst/udp/gstdynudpsink.c
@@ -127,7 +127,7 @@ gst_dynudpsink_class_init (GstDynUDPSink * klass)
gstelement_class = (GstElementClass *) 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_dynudpsink_set_property;
gobject_class->get_property = gst_dynudpsink_get_property;