mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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
3acd03c923
commit
e40b24493b
4 changed files with 6 additions and 14 deletions
|
@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstsinesrc.la
|
|||
|
||||
libgstsinesrc_la_SOURCES = gstsinesrc.c
|
||||
libgstsinesrc_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstsinesrc_la_LIBADD =
|
||||
libgstsinesrc_la_LIBADD = $(GST_LIBS) -lgstcontrol
|
||||
libgstsinesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = gstsinesrc.h
|
||||
|
|
|
@ -436,12 +436,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
|
||||
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||
|
||||
/* load dparam support library */
|
||||
if (!gst_library_load ("gstcontrol"))
|
||||
{
|
||||
gst_info ("sinesrc: could not load support library: 'gstcontrol'\n");
|
||||
return FALSE;
|
||||
}
|
||||
/* initialize dparam support library */
|
||||
gst_control_init(NULL,NULL);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstvolume.la
|
|||
|
||||
libgstvolume_la_SOURCES = gstvolume.c
|
||||
libgstvolume_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstvolume_la_LIBADD =
|
||||
libgstvolume_la_LIBADD = $(GST_LIBS) -lgstcontrol
|
||||
libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
noinst_HEADERS = gstvolume.h filter.func
|
||||
|
|
|
@ -433,12 +433,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
|
||||
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||
|
||||
/* load dparam support library */
|
||||
if (!gst_library_load ("gstcontrol"))
|
||||
{
|
||||
gst_info ("volume: could not load support library: 'gstcontrol'\n");
|
||||
return FALSE;
|
||||
}
|
||||
/* initialize dparam support library */
|
||||
gst_control_init(NULL,NULL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue