Commit 3ac3a012 authored by Camilo Celis Guzman's avatar Camilo Celis Guzman Committed by GStreamer Merge Bot

queue: protect against lost wakeups for iterm_del condition

Part-of: <gstreamer/gstreamer!513>
parent 5e8e8476
Pipeline #157112 waiting for manual action with stages
in 29 seconds
......@@ -1244,10 +1244,10 @@ gst_queue_chain_buffer_or_list (GstPad * pad, GstObject * parent,
"queue is full, waiting for free space");
/* don't leak. Instead, wait for space to be available */
do {
/* for as long as the queue is filled, wait till an item was deleted. */
/* for as long as the queue is filled, wait till an item was deleted. */
while (gst_queue_is_filled (queue)) {
GST_QUEUE_WAIT_DEL_CHECK (queue, out_flushing);
} while (gst_queue_is_filled (queue));
};
GST_CAT_DEBUG_OBJECT (queue_dataflow, queue, "queue is not full");
......
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