multiqueue: Only handle flow returns < EOS as errors, not e.g. flushing

This commit is contained in:
Sebastian Dröge 2014-08-13 13:01:23 +03:00
parent 2f33fd5c19
commit 3032a369a7

View file

@ -1470,7 +1470,7 @@ out_flushing:
* has returned an error flow return. After EOS there
* will be no further buffer which could propagate the
* error upstream */
if (sq->is_eos) {
if (sq->is_eos && sq->srcresult < GST_FLOW_EOS) {
GST_MULTI_QUEUE_MUTEX_UNLOCK (mq);
GST_ELEMENT_ERROR (mq, STREAM, FAILED,
("Internal data stream error."),