summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpdepay.c')
-rw-r--r--gst/rtp/gstrtpdepay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpdepay.c b/gst/rtp/gstrtpdepay.c
index 9b114aa3..ee8d680c 100644
--- a/gst/rtp/gstrtpdepay.c
+++ b/gst/rtp/gstrtpdepay.c
@@ -142,7 +142,7 @@ gst_rtp_depay_class_init (gpointer g_class)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP, g_param_spec_int ("skip", "skip", "skip", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_rtp_depay_change_state;