1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 05:13:56 +02:00
openwrt-packages/multimedia/gstreamer1/patches/010-gstplugin-use-lazy-symbol-binding.patch
Rosen Penev a5a0a35081 gstreamer1: Disable debug + other fixes
Disabled a bunch of debug stuff in order to save size.

Also removed the rpath stuff as that has not been needed for a long time.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed two patches that have --disable configure parameters now.

Refreshed patches.

Size of libgstreamer1 from 822243 to 529366 on mvebu.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-17 20:22:04 -07:00

21 lines
685 B
Diff

--- a/gst/gstplugin.c
+++ b/gst/gstplugin.c
@@ -777,15 +777,8 @@ _priv_gst_plugin_load_file_for_registry (const gchar * filename,
goto return_error;
}
- flags = G_MODULE_BIND_LOCAL;
- /* libgstpython.so is the gst-python plugin loader. It needs to be loaded with
- * G_MODULE_BIND_LAZY.
- *
- * Ideally there should be a generic way for plugins to specify that they
- * need to be loaded with _LAZY.
- * */
- if (strstr (filename, "libgstpython"))
- flags |= G_MODULE_BIND_LAZY;
+ // No need to resolve all bindings until referenced
+ flags = G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY;
module = g_module_open (filename, flags);
if (module == NULL) {