mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
multiqueue: Only handle flow returns < EOS as errors, not e.g. flushing
This commit is contained in:
parent
2f33fd5c19
commit
3032a369a7
1 changed files with 1 additions and 1 deletions
|
@ -1470,7 +1470,7 @@ out_flushing:
|
||||||
* has returned an error flow return. After EOS there
|
* has returned an error flow return. After EOS there
|
||||||
* will be no further buffer which could propagate the
|
* will be no further buffer which could propagate the
|
||||||
* error upstream */
|
* error upstream */
|
||||||
if (sq->is_eos) {
|
if (sq->is_eos && sq->srcresult < GST_FLOW_EOS) {
|
||||||
GST_MULTI_QUEUE_MUTEX_UNLOCK (mq);
|
GST_MULTI_QUEUE_MUTEX_UNLOCK (mq);
|
||||||
GST_ELEMENT_ERROR (mq, STREAM, FAILED,
|
GST_ELEMENT_ERROR (mq, STREAM, FAILED,
|
||||||
("Internal data stream error."),
|
("Internal data stream error."),
|
||||||
|
|
Loading…
Reference in a new issue