mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
autodetect, rtsp: gst_registry_get_default() -> gst_registry_get()
This commit is contained in:
parent
f43c88a203
commit
27ee8931dd
5 changed files with 5 additions and 5 deletions
|
@ -239,7 +239,7 @@ gst_auto_audio_sink_find_best (GstAutoAudioSink * sink)
|
||||||
GstCaps *el_caps = NULL;
|
GstCaps *el_caps = NULL;
|
||||||
gboolean no_match = TRUE;
|
gboolean no_match = TRUE;
|
||||||
|
|
||||||
list = gst_registry_feature_filter (gst_registry_get_default (),
|
list = gst_registry_feature_filter (gst_registry_get (),
|
||||||
(GstPluginFeatureFilter) gst_auto_audio_sink_factory_filter, FALSE, sink);
|
(GstPluginFeatureFilter) gst_auto_audio_sink_factory_filter, FALSE, sink);
|
||||||
list = g_list_sort (list, (GCompareFunc) gst_auto_audio_sink_compare_ranks);
|
list = g_list_sort (list, (GCompareFunc) gst_auto_audio_sink_compare_ranks);
|
||||||
|
|
||||||
|
|
|
@ -242,7 +242,7 @@ gst_auto_audio_src_find_best (GstAutoAudioSrc * src)
|
||||||
GstCaps *el_caps = NULL;
|
GstCaps *el_caps = NULL;
|
||||||
gboolean no_match = TRUE;
|
gboolean no_match = TRUE;
|
||||||
|
|
||||||
list = gst_registry_feature_filter (gst_registry_get_default (),
|
list = gst_registry_feature_filter (gst_registry_get (),
|
||||||
(GstPluginFeatureFilter) gst_auto_audio_src_factory_filter, FALSE, src);
|
(GstPluginFeatureFilter) gst_auto_audio_src_factory_filter, FALSE, src);
|
||||||
list = g_list_sort (list, (GCompareFunc) gst_auto_audio_src_compare_ranks);
|
list = g_list_sort (list, (GCompareFunc) gst_auto_audio_src_compare_ranks);
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ gst_auto_video_sink_find_best (GstAutoVideoSink * sink)
|
||||||
GstCaps *el_caps = NULL;
|
GstCaps *el_caps = NULL;
|
||||||
gboolean no_match = TRUE;
|
gboolean no_match = TRUE;
|
||||||
|
|
||||||
list = gst_registry_feature_filter (gst_registry_get_default (),
|
list = gst_registry_feature_filter (gst_registry_get (),
|
||||||
(GstPluginFeatureFilter) gst_auto_video_sink_factory_filter, FALSE, sink);
|
(GstPluginFeatureFilter) gst_auto_video_sink_factory_filter, FALSE, sink);
|
||||||
list = g_list_sort (list, (GCompareFunc) gst_auto_video_sink_compare_ranks);
|
list = g_list_sort (list, (GCompareFunc) gst_auto_video_sink_compare_ranks);
|
||||||
|
|
||||||
|
|
|
@ -241,7 +241,7 @@ gst_auto_video_src_find_best (GstAutoVideoSrc * src)
|
||||||
GstCaps *el_caps = NULL;
|
GstCaps *el_caps = NULL;
|
||||||
gboolean no_match = TRUE;
|
gboolean no_match = TRUE;
|
||||||
|
|
||||||
list = gst_registry_feature_filter (gst_registry_get_default (),
|
list = gst_registry_feature_filter (gst_registry_get (),
|
||||||
(GstPluginFeatureFilter) gst_auto_video_src_factory_filter, FALSE, src);
|
(GstPluginFeatureFilter) gst_auto_video_src_factory_filter, FALSE, src);
|
||||||
list = g_list_sort (list, (GCompareFunc) gst_auto_video_src_compare_ranks);
|
list = g_list_sort (list, (GCompareFunc) gst_auto_video_src_compare_ranks);
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ gst_rtsp_ext_list_init (void)
|
||||||
GST_DEBUG_CATEGORY_INIT (rtspext_debug, "rtspext", 0, "RTSP extension");
|
GST_DEBUG_CATEGORY_INIT (rtspext_debug, "rtspext", 0, "RTSP extension");
|
||||||
|
|
||||||
/* get a list of all extensions */
|
/* get a list of all extensions */
|
||||||
extensions = gst_registry_feature_filter (gst_registry_get_default (),
|
extensions = gst_registry_feature_filter (gst_registry_get (),
|
||||||
(GstPluginFeatureFilter) gst_rtsp_ext_list_filter, FALSE, NULL);
|
(GstPluginFeatureFilter) gst_rtsp_ext_list_filter, FALSE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue