Fix incorrect return type in several functions

All these should return GstFlowReturn, not gboolean
This commit is contained in:
Nirbheek Chauhan 2016-10-27 09:08:41 +05:30
parent 64c5b610d9
commit 20ced51df2

View file

@ -74,7 +74,7 @@ struct _GstAudioAggregatorPadPrivate
G_DEFINE_TYPE (GstAudioAggregatorPad, gst_audio_aggregator_pad, G_DEFINE_TYPE (GstAudioAggregatorPad, gst_audio_aggregator_pad,
GST_TYPE_AGGREGATOR_PAD); GST_TYPE_AGGREGATOR_PAD);
static gboolean static GstFlowReturn
gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad, gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad,
GstAggregator * aggregator); GstAggregator * aggregator);
@ -118,7 +118,7 @@ gst_audio_aggregator_pad_init (GstAudioAggregatorPad * pad)
} }
static gboolean static GstFlowReturn
gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad, gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad,
GstAggregator * aggregator) GstAggregator * aggregator)
{ {
@ -131,7 +131,7 @@ gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad,
gst_buffer_replace (&pad->priv->buffer, NULL); gst_buffer_replace (&pad->priv->buffer, NULL);
GST_OBJECT_UNLOCK (aggpad); GST_OBJECT_UNLOCK (aggpad);
return TRUE; return GST_FLOW_OK;
} }