gstaggregator: fix the prototype of sink_event_pre_queue
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 4 Mar 2020 21:13:12 +0000 (22:13 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 Mar 2020 07:50:42 +0000 (07:50 +0000)
This is not an API breakage, as implementors are already
expected to return a GstFlowReturn

libs/gst/base/gstaggregator.c
libs/gst/base/gstaggregator.h

index b22a5f7fab9e7cb88666c14c7532e38b3e9a6fbc..568e3771fe26e96d760718ba5bfbbd7a7c594d67 100644 (file)
@@ -1632,7 +1632,7 @@ eat:
  * The queued events with be handled from the src-pad task in
  * gst_aggregator_do_events_and_queries().
  */
-static gboolean
+static GstFlowReturn
 gst_aggregator_default_sink_event_pre_queue (GstAggregator * self,
     GstAggregatorPad * aggpad, GstEvent * event)
 {
index a757ad1edb9d07e1b6239c2290c989cb97a0132c..c5cc838c84f6d00222a941e95cc241579ab19efb 100644 (file)
@@ -322,7 +322,7 @@ struct _GstAggregatorClass {
 
   gboolean          (*negotiate) (GstAggregator * self);
 
-  gboolean          (*sink_event_pre_queue)     (GstAggregator    *  aggregator,
+  GstFlowReturn     (*sink_event_pre_queue)     (GstAggregator    *  aggregator,
                                                  GstAggregatorPad *  aggregator_pad,
                                                  GstEvent         *  event);