#include "mixerutils.h"
-#include <gst/interfaces/propertyprobe.h>
-
#include <string.h>
static void
GST_DEBUG ("created element %s (%p)", GST_ELEMENT_NAME (element), element);
+#if 0
if (GST_IS_PROPERTY_PROBE (element)) {
GstPropertyProbe *probe;
const GParamSpec *devspec;
g_value_array_free (array);
}
}
- } else {
+ } else
+#endif
+ {
GST_DEBUG ("element does not support the property probe interface");
if (gst_audio_mixer_filter_check_element (element)) {
/* make order chosen in the end more determinable */
if (rank_a == rank_b) {
- const gchar *name_a = GST_PLUGIN_FEATURE_NAME (GST_PLUGIN_FEATURE (a));
- const gchar *name_b = GST_PLUGIN_FEATURE_NAME (GST_PLUGIN_FEATURE (b));
+ const gchar *name_a = GST_OBJECT_NAME (GST_PLUGIN_FEATURE (a));
+ const gchar *name_b = GST_OBJECT_NAME (GST_PLUGIN_FEATURE (b));
return g_ascii_strcasecmp (name_a, name_b);
}
/* go through all elements of a certain class and check whether
* they implement a mixer. If so, add it to the list. */
- feature_list = gst_registry_get_feature_list (gst_registry_get_default (),
+ feature_list = gst_registry_get_feature_list (gst_registry_get (),
GST_TYPE_ELEMENT_FACTORY);
feature_list = g_list_sort (feature_list, element_factory_rank_compare_func);