summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpspeexdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpspeexdepay.c')
-rw-r--r--gst/rtp/gstrtpspeexdepay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpspeexdepay.c b/gst/rtp/gstrtpspeexdepay.c
index 5858596c..84d08c25 100644
--- a/gst/rtp/gstrtpspeexdepay.c
+++ b/gst/rtp/gstrtpspeexdepay.c
@@ -88,7 +88,7 @@ gst_rtp_speex_depay_class_init (GstRtpSPEEXDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
+ parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_speex_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_speex_depay_setcaps;