mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
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:
parent
71644aa4b0
commit
ab0df2f22a
2 changed files with 3 additions and 5 deletions
|
@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstladspa.la
|
||||||
|
|
||||||
libgstladspa_la_SOURCES = gstladspa.c search.c load.c
|
libgstladspa_la_SOURCES = gstladspa.c search.c load.c
|
||||||
libgstladspa_la_CFLAGS = $(GST_CFLAGS)
|
libgstladspa_la_CFLAGS = $(GST_CFLAGS)
|
||||||
libgstladspa_la_LIBADD =
|
libgstladspa_la_LIBADD = $(GST_LIBS) -lgstcontrol
|
||||||
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstladspa.h utils.h
|
noinst_HEADERS = gstladspa.h utils.h
|
||||||
|
|
|
@ -1168,10 +1168,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! gst_library_load ("gstcontrol")) {
|
/* initialize dparam support library */
|
||||||
gst_info ("gstladspa: could not load support library: 'gstcontrol'\n");
|
gst_control_init(NULL,NULL);
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue