gstaggregator: fix the prototype of sink_event_pre_queue

This is not an API breakage, as implementors are already
expected to return a GstFlowReturn
This commit is contained in:
Mathieu Duponchelle 2020-03-04 22:13:12 +01:00 committed by GStreamer Merge Bot
parent 0a185c24b5
commit 26ffe05ccd
2 changed files with 2 additions and 2 deletions

View file

@ -1632,7 +1632,7 @@ eat:
* The queued events with be handled from the src-pad task in * The queued events with be handled from the src-pad task in
* gst_aggregator_do_events_and_queries(). * gst_aggregator_do_events_and_queries().
*/ */
static gboolean static GstFlowReturn
gst_aggregator_default_sink_event_pre_queue (GstAggregator * self, gst_aggregator_default_sink_event_pre_queue (GstAggregator * self,
GstAggregatorPad * aggpad, GstEvent * event) GstAggregatorPad * aggpad, GstEvent * event)
{ {

View file

@ -322,7 +322,7 @@ struct _GstAggregatorClass {
gboolean (*negotiate) (GstAggregator * self); gboolean (*negotiate) (GstAggregator * self);
gboolean (*sink_event_pre_queue) (GstAggregator * aggregator, GstFlowReturn (*sink_event_pre_queue) (GstAggregator * aggregator,
GstAggregatorPad * aggregator_pad, GstAggregatorPad * aggregator_pad,
GstEvent * event); GstEvent * event);