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
commitab0df2f22ab90ccbcafc5bbad4213e33aa181ef7 (patch)
treee92953f6724d405956569605312e03506a5b368d /ext
parent71644aa4b0b96f6d9a8a8f96018f0ffd79188711 (diff)
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;
}