summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4vdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpmp4vdepay.c')
-rw-r--r--gst/rtp/gstrtpmp4vdepay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpmp4vdepay.c b/gst/rtp/gstrtpmp4vdepay.c
index a9ac441a..fe0b4e5a 100644
--- a/gst/rtp/gstrtpmp4vdepay.c
+++ b/gst/rtp/gstrtpmp4vdepay.c
@@ -106,7 +106,7 @@ gst_rtp_mp4v_depay_class_init (GstRtpMP4VDepayClass * 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_mp4v_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_mp4v_depay_setcaps;