diff --git a/gst/gstqueue.c b/gst/gstqueue.c index 3b022094a6..6e1de74a20 100644 --- a/gst/gstqueue.c +++ b/gst/gstqueue.c @@ -337,11 +337,8 @@ restart: GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "eos in on %s %d\n", GST_ELEMENT_NAME (queue), queue->level_buffers); break; - case GST_EVENT_DISCONTINUOUS: - gst_queue_locked_flush (queue); - break; default: - /*gst_pad_event_default (pad, GST_EVENT (buf)); */ + /* we put the event in the queue, we don't have to act ourselves */ break; } } diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index 3b022094a6..6e1de74a20 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -337,11 +337,8 @@ restart: GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "eos in on %s %d\n", GST_ELEMENT_NAME (queue), queue->level_buffers); break; - case GST_EVENT_DISCONTINUOUS: - gst_queue_locked_flush (queue); - break; default: - /*gst_pad_event_default (pad, GST_EVENT (buf)); */ + /* we put the event in the queue, we don't have to act ourselves */ break; } }