mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
Fix incorrect return type in several functions
All these should return GstFlowReturn, not gboolean
This commit is contained in:
parent
64c5b610d9
commit
20ced51df2
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue