mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
f7f8312812
commit
14ad763698
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue