audioaggregator: Register function name
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 22 Jul 2015 23:27:19 +0000 (19:27 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 22 Jul 2015 23:30:19 +0000 (19:30 -0400)
Otherwise, it sometimes segfaults with debugging enabled

gst/audiomixer/gstaudioaggregator.c

index cba57eed7bf438c01ccd4b255d4f71bd11e3cf76..b7e5cff674f908d35ee22d8d20f1d4adbb8b5fe9 100644 (file)
@@ -1026,7 +1026,7 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
 
   /* Sync pad properties to the stream time */
   gst_aggregator_iterate_sinkpads (agg,
-      (GstAggregatorPadForeachFunc) sync_pad_values, NULL);
+      (GstAggregatorPadForeachFunc) GST_DEBUG_FUNCPTR (sync_pad_values), NULL);
 
   GST_AUDIO_AGGREGATOR_LOCK (aagg);
   GST_OBJECT_LOCK (agg);