summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpgsmpay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpgsmpay.c')
-rw-r--r--gst/rtp/gstrtpgsmpay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c
index 0c324d31..2c0fb963 100644
--- a/gst/rtp/gstrtpgsmpay.c
+++ b/gst/rtp/gstrtpgsmpay.c
@@ -83,7 +83,7 @@ gst_rtp_gsm_pay_class_init (GstRTPGSMPayClass * 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_gsm_pay_setcaps;
gstbasertppayload_class->handle_buffer = gst_rtp_gsm_pay_handle_buffer;