mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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:
parent
96b88ffe35
commit
1a3bf3234f
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ gst_aggregator_pad_flush (GstAggregatorPad * aggpad, GstAggregator * agg)
|
||||||
PAD_UNLOCK (aggpad);
|
PAD_UNLOCK (aggpad);
|
||||||
|
|
||||||
if (klass->flush)
|
if (klass->flush)
|
||||||
return klass->flush (aggpad, agg);
|
return (klass->flush (aggpad, agg) == GST_FLOW_OK);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue