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.
This commit is contained in:
Edward Hervey 2007-05-18 16:53:18 +00:00
parent 6558d04420
commit a43ba33bb3
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
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> 2007-05-18 Edward Hervey <edward@fluendo.com>
* plugins/elements/gstqueue.c: (gst_queue_handle_sink_event): * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):

View file

@ -1005,6 +1005,7 @@ out_flushing:
gst_pad_pause_task (queue->srcpad); gst_pad_pause_task (queue->srcpad);
GST_CAT_LOG_OBJECT (queue_dataflow, queue, GST_CAT_LOG_OBJECT (queue_dataflow, queue,
"pause task, reason: %s", gst_flow_get_name (queue->srcresult)); "pause task, reason: %s", gst_flow_get_name (queue->srcresult));
GST_QUEUE_SIGNAL_DEL (queue);
GST_QUEUE_MUTEX_UNLOCK (queue); GST_QUEUE_MUTEX_UNLOCK (queue);
return; return;
} }