summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a3e7c4)
raw | patch | inline | side by side (parent: 2a3e7c4)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Mon, 28 Nov 2011 01:10:20 +0000 (01:10 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Mon, 28 Nov 2011 01:10:20 +0000 (01:10 +0000) |
plugins/elements/gstqueue2.c | patch | blob | history |
index 9378d57001303aa321172bb40c6fbb00c035f698..244023627fec85466547075a95af6864a94b672a 100644 (file)
data = gst_queue2_dequeue_on_unexpected (queue, &item_type);
if (data != NULL)
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) {
GstEvent *event = GST_EVENT_CAST (data);
data = gst_queue2_dequeue_on_unexpected (queue, &item_type);
if (data != NULL)
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;