summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2017-09-17 12:37:03 -0700
committerTim-Philipp Müller <tim@centricular.com>2017-12-02 15:10:27 +0000
commit70d0945b3592d0fbcf6345cd9055cbebee619661 (patch)
tree2594cbcfea18ea3220b4e74bd62585629f4eebfc
parentbedc9de46ca5f30467c37da656f8dff4eb75dd87 (diff)
aggregator: register func for do_events_and_queries
This fixes logging the func ptr from _iterate_sinkpads().
-rw-r--r--libs/gst/base/gstaggregator.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c
index f972a9d46..2bad1a10f 100644
--- a/libs/gst/base/gstaggregator.c
+++ b/libs/gst/base/gstaggregator.c
@@ -750,8 +750,8 @@ gst_aggregator_wait_and_check (GstAggregator * self, gboolean * timeout)
}
static gboolean
-do_events_and_queries (GstAggregator * self, GstAggregatorPad * pad,
- gpointer user_data)
+gst_aggregator_do_events_and_queries (GstAggregator * self,
+ GstAggregatorPad * pad, gpointer user_data)
{
GstEvent *event = NULL;
GstQuery *query = NULL;
@@ -1096,12 +1096,13 @@ gst_aggregator_aggregate_func (GstAggregator * self)
GstFlowReturn flow_return = GST_FLOW_OK;
gboolean processed_event = FALSE;
- gst_aggregator_iterate_sinkpads (self, do_events_and_queries, NULL);
+ gst_aggregator_iterate_sinkpads (self, gst_aggregator_do_events_and_queries,
+ NULL);
if (!gst_aggregator_wait_and_check (self, &timeout))
continue;
- gst_aggregator_iterate_sinkpads (self, do_events_and_queries,
+ gst_aggregator_iterate_sinkpads (self, gst_aggregator_do_events_and_queries,
&processed_event);
if (processed_event)
continue;
@@ -2361,6 +2362,7 @@ gst_aggregator_class_init (GstAggregatorClass * klass)
DEFAULT_START_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_REGISTER_FUNCPTR (gst_aggregator_stop_pad);
+ GST_DEBUG_REGISTER_FUNCPTR (gst_aggregator_do_events_and_queries);
}
static void