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.

21 lines
820 B

  1. diff -u --recursive gstreamer-1.6.2-vanilla/gst/gstplugin.c gstreamer-1.6.2/gst/gstplugin.c
  2. --- gstreamer-1.6.2-vanilla/gst/gstplugin.c 2016-01-01 12:37:38.178990140 -0500
  3. +++ gstreamer-1.6.2/gst/gstplugin.c 2016-01-01 12:38:30.431328737 -0500
  4. @@ -732,15 +732,8 @@
  5. goto return_error;
  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. module = g_module_open (filename, flags);
  19. if (module == NULL) {