X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst-libs%2Fgst%2Faudio%2Fmixerutils.c;h=ff29ea329494455705f0ad40022e22f15bf750f5;hb=f7939bb43fca241472a61d394f2457f5978dd5ab;hp=f5004978dea8ce14af132d85429eb8ae047c6e51;hpb=87d41b87a0bf12a403221964a8588bf611b15c6a;p=platform%2Fupstream%2Fgst-plugins-base.git diff --git a/gst-libs/gst/audio/mixerutils.c b/gst-libs/gst/audio/mixerutils.c index f500497..ff29ea3 100644 --- a/gst-libs/gst/audio/mixerutils.c +++ b/gst-libs/gst/audio/mixerutils.c @@ -41,8 +41,6 @@ #include "mixerutils.h" -#include - #include static void @@ -121,6 +119,7 @@ gst_audio_mixer_filter_probe_feature (GstAudioMixerFilterFunc filter_func, GST_DEBUG ("created element %s (%p)", GST_ELEMENT_NAME (element), element); +#if 0 if (GST_IS_PROPERTY_PROBE (element)) { GstPropertyProbe *probe; const GParamSpec *devspec; @@ -159,7 +158,9 @@ gst_audio_mixer_filter_probe_feature (GstAudioMixerFilterFunc filter_func, 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)) { @@ -182,8 +183,8 @@ element_factory_rank_compare_func (gconstpointer a, gconstpointer b) /* 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); } @@ -220,7 +221,7 @@ gst_audio_default_registry_mixer_filter (GstAudioMixerFilterFunc filter_func, /* 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);