projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656b7a0
)
aggregator: Push EOS on error return.
author
Jan Schmidt
<jan@centricular.com>
Wed, 27 May 2015 14:59:39 +0000
(
00:59
+1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000
(15:10 +0000)
Before shutting down the srcpad task due to a
downstream error, push an EOS to give downstream
a chance to shut down somewhat cleanly.
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index 4370ac291692802420ff1c4bae6cc9d87ff896f4..bd08db61c7d70a09c7b3685e751cd7ae895a5cdb 100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-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);
}