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