summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-05-18 16:53:18 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-05-18 16:53:18 +0000
commita43ba33bb3b7955570f5d96e88337707923962e2 (patch)
tree716c1945bd98b371af3c27590dd567da6f397a44
parent6558d0442000ba4efd755b47b72b01ea46deb763 (diff)
downloadgstreamer-a43ba33bb3b7955570f5d96e88337707923962e2.tar.gz
plugins/elements/gstqueue.c: Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix for the subtle a...
Original commit message from CVS: * plugins/elements/gstqueue.c: (gst_queue_loop): Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix for the subtle art of warning a potentially blocking thread that it should check the source pad return value, and relay the information upstream.
-rw-r--r--ChangeLog8
-rw-r--r--plugins/elements/gstqueue.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 20a91aa704..a8dbe20ebb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2007-05-18 Edward Hervey <edward@fluendo.com>
+ * plugins/elements/gstqueue.c: (gst_queue_loop):
+ Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
+ for the subtle art of warning a potentially blocking thread that it
+ should check the source pad return value, and relay the information
+ upstream.
+
+2007-05-18 Edward Hervey <edward@fluendo.com>
+
* plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
Release the queue lock !
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c
index 6632130dcd..a3c5c62310 100644
--- a/plugins/elements/gstqueue.c
+++ b/plugins/elements/gstqueue.c
@@ -1005,6 +1005,7 @@ out_flushing:
gst_pad_pause_task (queue->srcpad);
GST_CAT_LOG_OBJECT (queue_dataflow, queue,
"pause task, reason: %s", gst_flow_get_name (queue->srcresult));
+ GST_QUEUE_SIGNAL_DEL (queue);
GST_QUEUE_MUTEX_UNLOCK (queue);
return;
}