First Commit
[librecmc/package-feed.git] / multimedia / gstreamer1 / patches / 010-gstplugin-use-lazy-symbol-binding.patch
1 --- a/gst/gstplugin.c
2 +++ b/gst/gstplugin.c
3 @@ -732,15 +732,8 @@ _priv_gst_plugin_load_file_for_registry
4      goto return_error;
5    }
6  
7 -  flags = G_MODULE_BIND_LOCAL;
8 -  /* libgstpython.so is the gst-python plugin loader. It needs to be loaded with
9 -   * G_MODULE_BIND_LAZY.
10 -   *
11 -   * Ideally there should be a generic way for plugins to specify that they
12 -   * need to be loaded with _LAZY.
13 -   * */
14 -  if (strstr (filename, "libgstpython"))
15 -    flags |= G_MODULE_BIND_LAZY;
16 +  // No need to resolve all bindings until referenced
17 +  flags = G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY;
18  
19    module = g_module_open (filename, flags);
20    if (module == NULL) {