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:
53e879c
)
aggregator: fix flow-return boolean return type mismatch
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 29 Jul 2015 10:48:33 +0000
(11:48 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 8 Aug 2019 10:05:53 +0000
(11:05 +0100)
Not that it matters, since we don't check the return value
anyway. Unclear why the aggregator pad flush function should
have a return value at all really, and perhaps it should be
called reset anyway. Spotted by dv on irc.
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
f1ae989
..
e2e2ec7
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-295,7
+295,7
@@
gst_aggregator_pad_flush (GstAggregatorPad * aggpad, GstAggregator * agg)
PAD_UNLOCK (aggpad);
if (klass->flush)
- return
klass->flush (aggpad, agg
);
+ return
(klass->flush (aggpad, agg) == GST_FLOW_OK
);
return TRUE;
}