Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
Cleanup can be done at the end.
* gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
(gst_task_get_state), (gst_task_start), (gst_task_pause):
Oh boy.. Thanks for finding this, Thomas.
+2005-08-25 Wim Taymans <wim@fluendo.com>
+
+ * check/generic/states.c: (GST_START_TEST):
+ Cleanup can be done at the end.
+
+ * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
+ (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
+ (gst_task_get_state), (gst_task_start), (gst_task_pause):
+ Oh boy.. Thanks for finding this, Thomas.
+
2005-08-25 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer.types:
gst_element_set_state (element, GST_STATE_PAUSED);
gst_element_set_state (element, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (element));
-
- gst_task_cleanup_all ();
}
+ gst_task_cleanup_all ();
}
GST_END_TEST;
g_cond_free (task->cond);
task->cond = NULL;
- G_OBJECT_CLASS (parent_class)->dispose (object);
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}
static void
gst_element_set_state (element, GST_STATE_PAUSED);
gst_element_set_state (element, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (element));
-
- gst_task_cleanup_all ();
}
+ gst_task_cleanup_all ();
}
GST_END_TEST;