plugins/elements/gstqueue.c: The queue is not responsible for pushing an EOS when receiving a fatal flow error. It's ...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_push_one):
The queue is not responsible for pushing an EOS when receiving a fatal
flow error. It's up to the real element driving the pipeline to do that.
This commit is contained in:
Edward Hervey 2006-05-17 09:24:34 +00:00
parent d46dead4d3
commit 5686d9f321
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-05-17 Edward Hervey <edward@fluendo.com>
* plugins/elements/gstqueue.c: (gst_queue_push_one):
The queue is not responsible for pushing an EOS when receiving a fatal
flow error. It's up to the real element driving the pipeline to do that.
2006-05-16 Edward Hervey <edward@fluendo.com> 2006-05-16 Edward Hervey <edward@fluendo.com>
* plugins/elements/gstqueue.c: (gst_queue_push_one): * plugins/elements/gstqueue.c: (gst_queue_push_one):

View file

@ -777,8 +777,6 @@ gst_queue_push_one (GstQueue * queue)
flowname = gst_flow_get_name (result); flowname = gst_flow_get_name (result);
queue->srcresult = result; queue->srcresult = result;
if (GST_FLOW_IS_FATAL (result))
gst_pad_push_event (queue->srcpad, gst_event_new_eos ());
GST_DEBUG_OBJECT (queue, "pausing queue, reason %s", flowname); GST_DEBUG_OBJECT (queue, "pausing queue, reason %s", flowname);
gst_pad_pause_task (queue->srcpad); gst_pad_pause_task (queue->srcpad);