Fix various gboolean vs GstFlowReturn problems

Caught by building with MSVC which gave warnings for these
This commit is contained in:
Nirbheek Chauhan 2016-07-11 19:21:11 +05:30 committed by Tim-Philipp Müller
parent 2ae16c2f68
commit a3d58818e8
2 changed files with 3 additions and 3 deletions

View file

@ -133,7 +133,7 @@ gst_video_aggregator_pad_set_property (GObject * object, guint prop_id,
gst_object_unref (vagg);
}
static gboolean
static GstFlowReturn
_flush_pad (GstAggregatorPad * aggpad, GstAggregator * aggregator)
{
GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (aggregator);
@ -144,7 +144,7 @@ _flush_pad (GstAggregatorPad * aggpad, GstAggregator * aggregator)
pad->priv->start_time = -1;
pad->priv->end_time = -1;
return TRUE;
return GST_FLOW_OK;
}
static gboolean

View file

@ -57,7 +57,7 @@ static gboolean gst_siren_dec_start (GstAudioDecoder * dec);
static gboolean gst_siren_dec_stop (GstAudioDecoder * dec);
static gboolean gst_siren_dec_set_format (GstAudioDecoder * dec,
GstCaps * caps);
static gboolean gst_siren_dec_parse (GstAudioDecoder * dec,
static GstFlowReturn gst_siren_dec_parse (GstAudioDecoder * dec,
GstAdapter * adapter, gint * offset, gint * length);
static GstFlowReturn gst_siren_dec_handle_frame (GstAudioDecoder * dec,
GstBuffer * buffer);