mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
Fix various gboolean vs GstFlowReturn problems
Caught by building with MSVC which gave warnings for these
This commit is contained in:
parent
2ae16c2f68
commit
a3d58818e8
2 changed files with 3 additions and 3 deletions
|
@ -133,7 +133,7 @@ gst_video_aggregator_pad_set_property (GObject * object, guint prop_id,
|
||||||
gst_object_unref (vagg);
|
gst_object_unref (vagg);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static GstFlowReturn
|
||||||
_flush_pad (GstAggregatorPad * aggpad, GstAggregator * aggregator)
|
_flush_pad (GstAggregatorPad * aggpad, GstAggregator * aggregator)
|
||||||
{
|
{
|
||||||
GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (aggregator);
|
GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (aggregator);
|
||||||
|
@ -144,7 +144,7 @@ _flush_pad (GstAggregatorPad * aggpad, GstAggregator * aggregator)
|
||||||
pad->priv->start_time = -1;
|
pad->priv->start_time = -1;
|
||||||
pad->priv->end_time = -1;
|
pad->priv->end_time = -1;
|
||||||
|
|
||||||
return TRUE;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -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_stop (GstAudioDecoder * dec);
|
||||||
static gboolean gst_siren_dec_set_format (GstAudioDecoder * dec,
|
static gboolean gst_siren_dec_set_format (GstAudioDecoder * dec,
|
||||||
GstCaps * caps);
|
GstCaps * caps);
|
||||||
static gboolean gst_siren_dec_parse (GstAudioDecoder * dec,
|
static GstFlowReturn gst_siren_dec_parse (GstAudioDecoder * dec,
|
||||||
GstAdapter * adapter, gint * offset, gint * length);
|
GstAdapter * adapter, gint * offset, gint * length);
|
||||||
static GstFlowReturn gst_siren_dec_handle_frame (GstAudioDecoder * dec,
|
static GstFlowReturn gst_siren_dec_handle_frame (GstAudioDecoder * dec,
|
||||||
GstBuffer * buffer);
|
GstBuffer * buffer);
|
||||||
|
|
Loading…
Reference in a new issue