mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
aggregator: Push EOS on error return.
Before shutting down the srcpad task due to a downstream error, push an EOS to give downstream a chance to shut down somewhat cleanly.
This commit is contained in:
parent
656b7a0594
commit
b16697d286
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ gst_aggregator_aggregate_func (GstAggregator * self)
|
|||
}
|
||||
GST_OBJECT_UNLOCK (self);
|
||||
|
||||
if (flow_return == GST_FLOW_EOS) {
|
||||
if (flow_return == GST_FLOW_EOS || flow_return == GST_FLOW_ERROR) {
|
||||
gst_aggregator_push_eos (self);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue