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_SOURCES = gstsinesrc.c
|
||||||
libgstsinesrc_la_CFLAGS = $(GST_CFLAGS)
|
libgstsinesrc_la_CFLAGS = $(GST_CFLAGS)
|
||||||
libgstsinesrc_la_LIBADD =
|
libgstsinesrc_la_LIBADD = $(GST_LIBS) -lgstcontrol
|
||||||
libgstsinesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstsinesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstsinesrc.h
|
noinst_HEADERS = gstsinesrc.h
|
||||||
|
|
|
@ -436,12 +436,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
|
|
||||||
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||||
|
|
||||||
/* load dparam support library */
|
/* initialize dparam support library */
|
||||||
if (!gst_library_load ("gstcontrol"))
|
gst_control_init(NULL,NULL);
|
||||||
{
|
|
||||||
gst_info ("sinesrc: could not load support library: 'gstcontrol'\n");
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstvolume.la
|
||||||
|
|
||||||
libgstvolume_la_SOURCES = gstvolume.c
|
libgstvolume_la_SOURCES = gstvolume.c
|
||||||
libgstvolume_la_CFLAGS = $(GST_CFLAGS)
|
libgstvolume_la_CFLAGS = $(GST_CFLAGS)
|
||||||
libgstvolume_la_LIBADD =
|
libgstvolume_la_LIBADD = $(GST_LIBS) -lgstcontrol
|
||||||
libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = gstvolume.h filter.func
|
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));
|
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||||
|
|
||||||
/* load dparam support library */
|
/* initialize dparam support library */
|
||||||
if (!gst_library_load ("gstcontrol"))
|
gst_control_init(NULL,NULL);
|
||||||
{
|
|
||||||
gst_info ("volume: could not load support library: 'gstcontrol'\n");
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue