use gstcontrol as a lib, not a plugin

Original commit message from CVS:
use gstcontrol as a lib, not a plugin
This commit is contained in:
Steve Baker 2002-08-11 12:20:43 +00:00
parent 71644aa4b0
commit ab0df2f22a
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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;
}