plugins/elements/gstqueue.c: The queue is not responsible for pushing an EOS when...
authorEdward Hervey <bilboed@bilboed.com>
Wed, 17 May 2006 09:24:34 +0000 (09:24 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 17 May 2006 09:24:34 +0000 (09:24 +0000)
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.

ChangeLog
plugins/elements/gstqueue.c

index 3e6a4b9..7f33410 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * plugins/elements/gstqueue.c: (gst_queue_push_one):
index 9606699..b399f07 100644 (file)
@@ -777,8 +777,6 @@ gst_queue_push_one (GstQueue * queue)
       flowname = gst_flow_get_name (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_pad_pause_task (queue->srcpad);