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 cba57ee..b7e5cff 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);