summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4gpay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpmp4gpay.c')
-rw-r--r--gst/rtp/gstrtpmp4gpay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c
index 36b955a1..efe29063 100644
--- a/gst/rtp/gstrtpmp4gpay.c
+++ b/gst/rtp/gstrtpmp4gpay.c
@@ -143,7 +143,7 @@ gst_rtp_mp4g_pay_class_init (GstRtpMP4GPayClass * 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);
gobject_class->set_property = gst_rtp_mp4g_pay_set_property;
gobject_class->get_property = gst_rtp_mp4g_pay_get_property;