Merge pull request #2126 from lynxis/libmicrohttpd
[feed/packages.git] / multimedia / gstreamer1 / patches / 010-gstplugin-use-lazy-symbol-binding.patch
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
8 - flags = G_MODULE_BIND_LOCAL;
9 - /* libgstpython.so is the gst-python plugin loader. It needs to be loaded with
10 - * G_MODULE_BIND_LAZY.
11 - *
12 - * Ideally there should be a generic way for plugins to specify that they
13 - * need to be loaded with _LAZY.
14 - * */
15 - if (strstr (filename, "libgstpython"))
16 - flags |= G_MODULE_BIND_LAZY;
17 + // No need to resolve all bindings until referenced
18 + flags = G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY;
19
20 module = g_module_open (filename, flags);
21 if (module == NULL) {