mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gstregistry: Remove unneeded call
_priv_gst_preload_plugins is only filled if option parsing is active. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/455>
This commit is contained in:
parent
c416e2457e
commit
a307c0623c
1 changed files with 2 additions and 0 deletions
|
@ -1844,10 +1844,12 @@ gst_update_registry (void)
|
|||
res = TRUE;
|
||||
#endif /* GST_DISABLE_REGISTRY */
|
||||
|
||||
#ifndef GST_DISABLE_OPTION_PARSING
|
||||
if (_priv_gst_preload_plugins) {
|
||||
GST_DEBUG ("Preloading indicated plugins...");
|
||||
g_slist_foreach (_priv_gst_preload_plugins, load_plugin_func, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue