void
gst_factory_list_debug (GValueArray * array)
{
+#ifndef GST_DISABLE_GST_DEBUG
gint i;
for (i = 0; i < array->n_values; i++) {
GST_DEBUG ("%s", gst_plugin_feature_get_name (feature));
}
+#endif
}
/**
GValueArray * gst_factory_list_filter (GValueArray *array, const GstCaps *caps);
+#ifndef GST_DISABLE_GST_DEBUG
+#define GST_FACTORY_LIST_DEBUG(array) gst_factory_list_debug(array)
+#else
+#define GST_FACTORY_LIST_DEBUG(array)
+#endif
+
G_END_DECLS
#endif /* __GST_FACTORY_LISTS_H__ */
/* first filter out the interesting element factories */
playbin->elements_lock = g_mutex_new ();
gst_play_bin_update_elements_list (playbin);
- gst_factory_list_debug (playbin->elements);
+ GST_FACTORY_LIST_DEBUG (playbin->elements);
/* add sink */
playbin->playsink = g_object_new (GST_TYPE_PLAY_SINK, NULL);
g_mutex_unlock (playbin->elements_lock);
GST_DEBUG_OBJECT (playbin, "found factories %p", result);
- gst_factory_list_debug (result);
+ GST_FACTORY_LIST_DEBUG (result);
return result;
}