use gstcontrol as a lib, not a plugin
authorSteve Baker <steve@stevebaker.org>
Sun, 11 Aug 2002 12:20:43 +0000 (12:20 +0000)
committerSteve Baker <steve@stevebaker.org>
Sun, 11 Aug 2002 12:20:43 +0000 (12:20 +0000)
Original commit message from CVS:
use gstcontrol as a lib, not a plugin

ext/ladspa/Makefile.am
ext/ladspa/gstladspa.c

index 27519c8..9580eeb 100644 (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
index d963ef7..8764116 100644 (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;
 }