mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 21:12:26 +00:00
ladspa/lv2: link and init to gst-controller
This commit is contained in:
parent
233f7ef176
commit
ee2c1e6624
4 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue