multiqueue: Accept STREAM_START after EOS

In the same way core now allows STREAM_START to remove the flushing
state from pads, we need to do the same thing in multiqueue
This commit is contained in:
Edward Hervey 2015-09-15 18:08:18 +02:00 committed by Edward Hervey
parent f7f8312812
commit 14ad763698

View file

@ -1776,6 +1776,10 @@ gst_multi_queue_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
type = GST_EVENT_TYPE (event); type = GST_EVENT_TYPE (event);
switch (type) { switch (type) {
case GST_EVENT_STREAM_START:
/* Remove EOS flag */
sq->is_eos = FALSE;
break;
case GST_EVENT_FLUSH_START: case GST_EVENT_FLUSH_START:
GST_DEBUG_OBJECT (mq, "SingleQueue %d : received flush start event", GST_DEBUG_OBJECT (mq, "SingleQueue %d : received flush start event",
sq->id); sq->id);