From 20ced51df28f43640704ce122b129b3c6bfd29ca Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 27 Oct 2016 09:08:41 +0530 Subject: [PATCH] Fix incorrect return type in several functions All these should return GstFlowReturn, not gboolean --- gst-libs/gst/audio/gstaudioaggregator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/audio/gstaudioaggregator.c b/gst-libs/gst/audio/gstaudioaggregator.c index a09b8a4..8d66225 100644 --- a/gst-libs/gst/audio/gstaudioaggregator.c +++ b/gst-libs/gst/audio/gstaudioaggregator.c @@ -74,7 +74,7 @@ struct _GstAudioAggregatorPadPrivate G_DEFINE_TYPE (GstAudioAggregatorPad, gst_audio_aggregator_pad, GST_TYPE_AGGREGATOR_PAD); -static gboolean +static GstFlowReturn gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad, 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, GstAggregator * aggregator) { @@ -131,7 +131,7 @@ gst_audio_aggregator_pad_flush_pad (GstAggregatorPad * aggpad, gst_buffer_replace (&pad->priv->buffer, NULL); GST_OBJECT_UNLOCK (aggpad); - return TRUE; + return GST_FLOW_OK; } -- 2.7.4