Commit 52f23455 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

queue2: Properly unlock the sinkpad streaming thread when deactivating the pad
parent b40599f6
......@@ -3078,6 +3078,10 @@ gst_queue2_sink_activate_mode (GstPad * pad, GstObject * parent,
GST_DEBUG_OBJECT (queue, "deactivating push mode");
queue->srcresult = GST_FLOW_FLUSHING;
queue->sinkresult = GST_FLOW_FLUSHING;
/* Unblock query handler */
queue->last_query = FALSE;
g_cond_signal (&queue->query_handled);
/* wait until it is unblocked and clean up */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment