From 6c57193525acd4765d44f2cf49a14b2e26fb1df5 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Wed, 26 Oct 2005 20:00:46 +0000 Subject: [PATCH] Fixes a small but nasty bug. The derived elements no longer segfaults on finalization. Original commit message from CVS: Fixes a small but nasty bug. The derived elements no longer segfaults on finalization. --- ChangeLog | 9 +++++++++ gst-libs/gst/rtp/gstbasertpdepayload.c | 1 + 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index ad22bb9a03..d29c213054 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-10-26 Andre Magalhaes + + reviewed by: Zeeshan Ali + + * gst-libs/gst/rtp/gstbasertpdepayload.c: + (gst_base_rtp_depayload_class_init): + Fixes a small but nasty bug. The derived elements no longer segfaults + on finalization. + 2005-10-26 Michael Smith * gst/audioconvert/audioconvert.c: (audio_convert_clean_context): diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c index 5867bfe81d..d4c807cd45 100644 --- a/gst-libs/gst/rtp/gstbasertpdepayload.c +++ b/gst-libs/gst/rtp/gstbasertpdepayload.c @@ -104,6 +104,7 @@ gst_base_rtp_depayload_class_init (GstBaseRTPDepayloadClass * klass) gobject_class = G_OBJECT_CLASS (klass); gstelement_class = (GstElementClass *) klass; + parent_class = g_type_class_peek_parent (klass); gobject_class->set_property = gst_base_rtp_depayload_set_property; gobject_class->get_property = gst_base_rtp_depayload_get_property;