Fix various gboolean vs GstFlowReturn problems
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 11 Jul 2016 13:51:11 +0000 (19:21 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 11 Jul 2016 14:02:06 +0000 (15:02 +0100)
Caught by building with MSVC which gave warnings for these

gst-libs/gst/video/gstvideoaggregator.c

index 9046252..1d40854 100644 (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