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.
This commit is contained in:
Tim-Philipp Müller 2015-07-29 11:48:33 +01:00
parent 53e879c750
commit edc1a5be3e

View file

@ -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;
}