summaryrefslogtreecommitdiffstats
path: root/gst/autodetect
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-09-15 10:47:58 +0000
committerAndy Wingo <wingo@pobox.com>2005-09-15 10:47:58 +0000
commitc7468729e9e05fa3cbcf6ee1fbbd578c516e2200 (patch)
treeb02bb7e09ea6c2d1ec9ccd8cdbddb77eed799f3a /gst/autodetect
parentbbae2942c24dbc59dcfd577507b518eddfbde828 (diff)
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.
Diffstat (limited to 'gst/autodetect')
-rw-r--r--gst/autodetect/gstautoaudiosink.c2
-rw-r--r--gst/autodetect/gstautovideosink.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/autodetect/gstautoaudiosink.c b/gst/autodetect/gstautoaudiosink.c
index 83c0d48b..e404a46f 100644
--- a/gst/autodetect/gstautoaudiosink.c
+++ b/gst/autodetect/gstautoaudiosink.c
@@ -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);
diff --git a/gst/autodetect/gstautovideosink.c b/gst/autodetect/gstautovideosink.c
index 6a6cace5..3ea64ca7 100644
--- a/gst/autodetect/gstautovideosink.c
+++ b/gst/autodetect/gstautovideosink.c
@@ -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);