gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_find_best): gst/autodetect/gstautovideosink.c

Original commit message from CVS:
2005-09-15  Andy Wingo  <wingo@pobox.com>

* gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_find_best):
* gst/autodetect/gstautovideosink.c
(gst_auto_video_sink_find_best): Update for new registry API.
This commit is contained in:
Andy Wingo 2005-09-15 10:47:58 +00:00
parent bbae2942c2
commit c7468729e9
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2005-09-15 Andy Wingo <wingo@pobox.com>
* gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_find_best):
* gst/autodetect/gstautovideosink.c
(gst_auto_video_sink_find_best): Update for new registry API.
2005-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
* common/c-to-xml.py:

2
common

@ -1 +1 @@
Subproject commit 22ed11765884ef97b7346f0723ffc0e7fe540640
Subproject commit 97fbc2dd78ea0cc2225b63ff383802b7c376d9b7

View file

@ -135,7 +135,7 @@ gst_auto_audio_sink_find_best (GstAutoAudioSink * sink)
GstElement *choice = NULL;
gboolean ss = TRUE;
list = gst_registry_pool_feature_filter (
list = gst_registry_feature_filter (gst_registry_get_default (),
(GstPluginFeatureFilter) gst_auto_audio_sink_factory_filter, FALSE, sink);
list = g_list_sort (list, (GCompareFunc) gst_auto_audio_sink_compare_ranks);

View file

@ -133,7 +133,7 @@ gst_auto_video_sink_find_best (GstAutoVideoSink * sink)
{
GList *list;
list = gst_registry_pool_feature_filter (
list = gst_registry_feature_filter (gst_registry_get_default (),
(GstPluginFeatureFilter) gst_auto_video_sink_factory_filter, FALSE, sink);
list = g_list_sort (list, (GCompareFunc) gst_auto_video_sink_compare_ranks);