summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-01-31 20:05:30 (GMT)
committerStefan Kost <ensonic@users.sf.net>2010-01-31 20:25:51 (GMT)
commitee2c1e662468a85d01e97e9c1256a67c5f4f45d2 (patch)
treef64d908301dcb7581800a032050a3dbe99900710
parent233f7ef176863ff85680d3a151d1bab2c35162e1 (diff)
ladspa/lv2: link and init to gst-controller
-rw-r--r--ext/ladspa/Makefile.am2
-rw-r--r--ext/ladspa/gstladspa.c3
-rw-r--r--ext/lv2/Makefile.am2
-rw-r--r--ext/lv2/gstlv2.c3
4 files changed, 8 insertions, 2 deletions
diff --git a/ext/ladspa/Makefile.am b/ext/ladspa/Makefile.am
index 9f0f86a..353ec5e 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 4b9b5b1..c1beae6 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 08a5c08..7b6ac4e 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 c4fd816..85564c6 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;