summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-08-11 12:20:43 +0000
committerSteve Baker <steve@stevebaker.org>2002-08-11 12:20:43 +0000
commit07079bca8cadfa254f42ee4b8c99c63fe21f0302 (patch)
treea1f5d5a0186246871ac66246ce0b8f61958c555b /ext
parent896e4656a73b9425f5e04a02da0167143097e9e7 (diff)
downloadgst-plugins-bad-07079bca8cadfa254f42ee4b8c99c63fe21f0302.tar.gz
gst-plugins-bad-07079bca8cadfa254f42ee4b8c99c63fe21f0302.tar.bz2
gst-plugins-bad-07079bca8cadfa254f42ee4b8c99c63fe21f0302.zip
use gstcontrol as a lib, not a plugin
Original commit message from CVS: use gstcontrol as a lib, not a plugin
Diffstat (limited to 'ext')
-rw-r--r--ext/ladspa/Makefile.am2
-rw-r--r--ext/ladspa/gstladspa.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/ext/ladspa/Makefile.am b/ext/ladspa/Makefile.am
index 27519c82..9580eeb3 100644
--- a/ext/ladspa/Makefile.am
+++ b/ext/ladspa/Makefile.am
@@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstladspa.la
libgstladspa_la_SOURCES = gstladspa.c search.c load.c
libgstladspa_la_CFLAGS = $(GST_CFLAGS)
-libgstladspa_la_LIBADD =
+libgstladspa_la_LIBADD = $(GST_LIBS) -lgstcontrol
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gstladspa.h utils.h
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index d963ef71..87641161 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -1168,10 +1168,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
return FALSE;
}
- if (! gst_library_load ("gstcontrol")) {
- gst_info ("gstladspa: could not load support library: 'gstcontrol'\n");
- return FALSE;
- }
+ /* initialize dparam support library */
+ gst_control_init(NULL,NULL);
return TRUE;
}