[MOVED FROM GST-P-FARSIGHT] Should not be done in dispose, moving to finalize

20051024153748-05459-9625fec05547c535bf5f3c66aebba84861b549aa.gz
This commit is contained in:
Philippe Khalaf 2005-10-24 15:37:48 +00:00 committed by Olivier Crête
parent b6350f6f5a
commit 31fdd11cc0

View file

@ -61,7 +61,7 @@ GST_STATIC_PAD_TEMPLATE (
static void gst_mimdec_class_init (GstMimDecClass *klass); static void gst_mimdec_class_init (GstMimDecClass *klass);
static void gst_mimdec_base_init (GstMimDecClass *klass); static void gst_mimdec_base_init (GstMimDecClass *klass);
static void gst_mimdec_init (GstMimDec *mimdec); 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, static GstFlowReturn gst_mimdec_chain (GstPad *pad,
GstBuffer *in); GstBuffer *in);
@ -132,7 +132,7 @@ gst_mimdec_class_init (GstMimDecClass *klass)
gstelement_class = (GstElementClass*) klass; gstelement_class = (GstElementClass*) klass;
gstelement_class->change_state = gst_mimdec_change_state; 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); parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
@ -161,7 +161,7 @@ gst_mimdec_init (GstMimDec *mimdec)
} }
static void static void
gst_mimdec_dispose (GObject *object) gst_mimdec_finalize (GObject *object)
{ {
GstMimDec *mimdec = GST_MIMDEC (object); GstMimDec *mimdec = GST_MIMDEC (object);