summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpspeexpay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpspeexpay.c')
-rw-r--r--gst/rtp/gstrtpspeexpay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpspeexpay.c b/gst/rtp/gstrtpspeexpay.c
index e954a2ce..c1f37277 100644
--- a/gst/rtp/gstrtpspeexpay.c
+++ b/gst/rtp/gstrtpspeexpay.c
@@ -79,7 +79,7 @@ gst_rtp_speex_pay_class_init (GstRtpSPEEXPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
+ parent_class = g_type_class_peek_parent (klass);
gstbasertppayload_class->set_caps = gst_rtp_speex_pay_setcaps;
gstbasertppayload_class->handle_buffer = gst_rtp_speex_pay_handle_buffer;