plugins/elements/gstqueue.c: Hello, I am Mr Taymans' personal debugger. Today I will...
authorEdward Hervey <bilboed@bilboed.com>
Fri, 18 May 2007 16:53:18 +0000 (16:53 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 18 May 2007 16:53:18 +0000 (16:53 +0000)
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.

ChangeLog
plugins/elements/gstqueue.c

index 20a91aa..a8dbe20 100644 (file)
--- 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 !
 
index 6632130..a3c5c62 100644 (file)
@@ -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;
   }