From ab0df2f22ab90ccbcafc5bbad4213e33aa181ef7 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sun, 11 Aug 2002 12:20:43 +0000 Subject: [PATCH] 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(-) diff --git a/ext/ladspa/Makefile.am b/ext/ladspa/Makefile.am index 27519c82ab..9580eeb34e 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 d963ef7171..87641161ff 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; }