mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Merge remote-tracking branch 'origin/master' into 0.11
This commit is contained in:
commit
5acdc22001
1 changed files with 6 additions and 0 deletions
|
@ -2400,6 +2400,9 @@ next:
|
||||||
data = gst_queue2_dequeue_on_eos (queue, &item_type);
|
data = gst_queue2_dequeue_on_eos (queue, &item_type);
|
||||||
if (data != NULL)
|
if (data != NULL)
|
||||||
goto next;
|
goto next;
|
||||||
|
/* Since we will still accept EOS and NEWSEGMENT we return _FLOW_OK
|
||||||
|
* to the caller so that the task function does not shut down */
|
||||||
|
result = GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
} else if (item_type == GST_QUEUE2_ITEM_TYPE_EVENT) {
|
} else if (item_type == GST_QUEUE2_ITEM_TYPE_EVENT) {
|
||||||
GstEvent *event = GST_EVENT_CAST (data);
|
GstEvent *event = GST_EVENT_CAST (data);
|
||||||
|
@ -2442,6 +2445,9 @@ next:
|
||||||
data = gst_queue2_dequeue_on_eos (queue, &item_type);
|
data = gst_queue2_dequeue_on_eos (queue, &item_type);
|
||||||
if (data != NULL)
|
if (data != NULL)
|
||||||
goto next;
|
goto next;
|
||||||
|
/* Since we will still accept EOS and NEWSEGMENT we return _FLOW_OK
|
||||||
|
* to the caller so that the task function does not shut down */
|
||||||
|
result = GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue