From 07079bca8cadfa254f42ee4b8c99c63fe21f0302 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sun, 11 Aug 2002 12:20:43 +0000 Subject: use gstcontrol as a lib, not a plugin Original commit message from CVS: use gstcontrol as a lib, not a plugin --- ext/ladspa/Makefile.am | 2 +- ext/ladspa/gstladspa.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'ext') 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; } -- cgit v1.2.1