diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ladspa/Makefile.am | 2 | ||||
-rw-r--r-- | 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 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; } |