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 3acd03c923
commit e40b24493b
4 changed files with 6 additions and 14 deletions

View file

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

View file

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

View file

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

View file

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