From 9b7d248982bfb134f5c03e0d053054c8660d8faf Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 11 Jul 2016 19:21:11 +0530 Subject: [PATCH] Fix various gboolean vs GstFlowReturn problems Caught by building with MSVC which gave warnings for these --- gst-libs/gst/video/gstvideoaggregator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 9046252..1d40854 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -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 -- 2.7.4