From 31fdd11cc0bb7dfd71b4064597644ff50fa95a1d Mon Sep 17 00:00:00 2001 From: Philippe Khalaf Date: Mon, 24 Oct 2005 15:37:48 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] Should not be done in dispose, moving to finalize 20051024153748-05459-9625fec05547c535bf5f3c66aebba84861b549aa.gz --- ext/mimic/gstmimdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index abdd5e12d8..d4bd6bd375 100644 --- a/ext/mimic/gstmimdec.c +++ b/ext/mimic/gstmimdec.c @@ -61,7 +61,7 @@ GST_STATIC_PAD_TEMPLATE ( static void gst_mimdec_class_init (GstMimDecClass *klass); static void gst_mimdec_base_init (GstMimDecClass *klass); static void gst_mimdec_init (GstMimDec *mimdec); -static void gst_mimdec_dispose (GObject *object); +static void gst_mimdec_finalize (GObject *object); static GstFlowReturn gst_mimdec_chain (GstPad *pad, GstBuffer *in); @@ -132,7 +132,7 @@ gst_mimdec_class_init (GstMimDecClass *klass) gstelement_class = (GstElementClass*) klass; gstelement_class->change_state = gst_mimdec_change_state; - gobject_class->dispose = gst_mimdec_dispose; + gobject_class->finalize = gst_mimdec_finalize; parent_class = g_type_class_ref (GST_TYPE_ELEMENT); @@ -161,7 +161,7 @@ gst_mimdec_init (GstMimDec *mimdec) } static void -gst_mimdec_dispose (GObject *object) +gst_mimdec_finalize (GObject *object) { GstMimDec *mimdec = GST_MIMDEC (object);