From 26ffe05ccdf715f401339e3c53a0d5b482543ec7 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Wed, 4 Mar 2020 22:13:12 +0100 Subject: [PATCH] gstaggregator: fix the prototype of sink_event_pre_queue This is not an API breakage, as implementors are already expected to return a GstFlowReturn --- libs/gst/base/gstaggregator.c | 2 +- libs/gst/base/gstaggregator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index b22a5f7..568e377 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -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) { diff --git a/libs/gst/base/gstaggregator.h b/libs/gst/base/gstaggregator.h index a757ad1..c5cc838 100644 --- a/libs/gst/base/gstaggregator.h +++ b/libs/gst/base/gstaggregator.h @@ -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); -- 2.7.4