Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_finalize),
(gst_collectpads_stop):
Broadcast the condition when shutting down, to make sure we wake all
threads up. Shut down pads on finalize, for safety.
2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
+ * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
+ (gst_collectpads_stop):
+ Broadcast the condition when shutting down, to make sure we wake all
+ threads up. Shut down pads on finalize, for safety.
+
+2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_handle_buffer),
(gst_base_transform_change_state):
{
GstCollectPads *pads = GST_COLLECTPADS (object);
+ gst_collectpads_stop (pads);
g_cond_free (pads->cond);
/* FIXME, free data */
GST_LOCK (pads);
pads->started = FALSE;
- GST_COLLECTPADS_SIGNAL (pads);
+ GST_COLLECTPADS_BROADCAST (pads);
GST_UNLOCK (pads);
}
{
GstCollectPads *pads = GST_COLLECTPADS (object);
+ gst_collectpads_stop (pads);
g_cond_free (pads->cond);
/* FIXME, free data */
GST_LOCK (pads);
pads->started = FALSE;
- GST_COLLECTPADS_SIGNAL (pads);
+ GST_COLLECTPADS_BROADCAST (pads);
GST_UNLOCK (pads);
}