Original commit message from CVS:
Ouch: gst_element_dispose does a state change to NULL. Change the state to NULL yourself if you dispose plugins that reference some of the freed memory on state changes.
This is probably broken in lots of cases.
{
GstQueue *queue = GST_QUEUE (object);
- gst_queue_locked_flush (queue);
+ gst_element_set_state (GST_ELEMENT (queue), GST_STATE_NULL);
g_mutex_free (queue->qlock);
g_cond_free (queue->not_empty);
{
GstQueue *queue = GST_QUEUE (object);
- gst_queue_locked_flush (queue);
+ gst_element_set_state (GST_ELEMENT (queue), GST_STATE_NULL);
g_mutex_free (queue->qlock);
g_cond_free (queue->not_empty);