diff --git a/ext/ladspa/Makefile.am b/ext/ladspa/Makefile.am index 9f0f86a4b3..353ec5ebbc 100644 --- a/ext/ladspa/Makefile.am +++ b/ext/ladspa/Makefile.am @@ -8,7 +8,7 @@ libgstladspa_la_CFLAGS = \ libgstladspa_la_LIBADD = \ $(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_MAJORMINOR@.la \ $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) \ - $(LIBM) $(LRDF_LIBS) + $(GST_CONTROLLER_LIBS) $(LIBM) $(LRDF_LIBS) libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstladspa_la_LIBTOOLFLAGS = --tag=disable-static diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 4b9b5b1ec4..c1beae61a8 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -882,6 +882,9 @@ plugin_init (GstPlugin * plugin) GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", GST_DEBUG_FG_GREEN | GST_DEBUG_BG_BLACK | GST_DEBUG_BOLD, "LADSPA"); + /* initialize gst controller library */ + gst_controller_init (NULL, NULL); + gst_plugin_add_dependency_simple (plugin, "LADSPA_PATH", GST_LADSPA_DEFAULT_PATH, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE); diff --git a/ext/lv2/Makefile.am b/ext/lv2/Makefile.am index 08a5c08ddd..7b6ac4e52d 100644 --- a/ext/lv2/Makefile.am +++ b/ext/lv2/Makefile.am @@ -8,7 +8,7 @@ libgstlv2_la_CFLAGS = \ libgstlv2_la_LIBADD = \ $(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_MAJORMINOR@.la \ $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) \ - $(LIBM) $(SLV2_LIBS) + $(GST_CONTROLLER_LIBS) $(LIBM) $(SLV2_LIBS) libgstlv2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstlv2_la_LIBTOOLFLAGS = --tag=disable-static diff --git a/ext/lv2/gstlv2.c b/ext/lv2/gstlv2.c index c4fd816de9..85564c642e 100644 --- a/ext/lv2/gstlv2.c +++ b/ext/lv2/gstlv2.c @@ -875,6 +875,9 @@ plugin_init (GstPlugin * plugin) side_left_role = slv2_value_new_uri (world, NS_PG "sideLeftChannel"); side_right_role = slv2_value_new_uri (world, NS_PG "sideRightChannel"); + /* initialize gst controller library */ + gst_controller_init (NULL, NULL); + parent_class = g_type_class_ref (GST_TYPE_SIGNAL_PROCESSOR); gst_lv2_plugin = plugin;