From edc1a5be3ecf6b6c92f6fd441a5b7924dc2202ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 29 Jul 2015 11:48:33 +0100 Subject: [PATCH] aggregator: fix flow-return boolean return type mismatch 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index f1ae98930d..e2e2ec7604 100644 --- 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; }