You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
685 B

  1. --- a/gst/gstplugin.c
  2. +++ b/gst/gstplugin.c
  3. @@ -776,15 +776,8 @@ _priv_gst_plugin_load_file_for_registry (const gchar * filename,
  4. goto return_error;
  5. }
  6. - flags = G_MODULE_BIND_LOCAL;
  7. - /* libgstpython.so is the gst-python plugin loader. It needs to be loaded with
  8. - * G_MODULE_BIND_LAZY.
  9. - *
  10. - * Ideally there should be a generic way for plugins to specify that they
  11. - * need to be loaded with _LAZY.
  12. - * */
  13. - if (strstr (filename, "libgstpython"))
  14. - flags |= G_MODULE_BIND_LAZY;
  15. + // No need to resolve all bindings until referenced
  16. + flags = G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY;
  17. module = g_module_open (filename, flags);
  18. if (module == NULL) {