removing warnings (approved by wtay)

Original commit message from CVS:
removing warnings (approved by wtay)
This commit is contained in:
Thomas Vander Stichele 2002-09-09 23:24:29 +00:00
parent e3741783bd
commit 48e9846ca0
5 changed files with 14 additions and 23 deletions

View file

@ -335,10 +335,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstTypeFactory *type;
/* this filter needs the riff parser */
if (!gst_library_load ("gstbytestream")) {
gst_info("cdxaparse: could not load support library: 'gstbytestream'\n");
if (!gst_library_load ("gstbytestream"))
return FALSE;
}
/* create an elementfactory for the cdxa_parse element */
factory = gst_element_factory_new ("cdxaparse", GST_TYPE_CDXA_PARSE,

View file

@ -678,10 +678,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstTypeFactory *type;
/* this filter needs the bytestream package */
if (!gst_library_load("gstbytestream")) {
gst_info("flxdec:: could not load support library: 'gstbytestream'\n");
if (!gst_library_load ("gstbytestream"))
return FALSE;
}
factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_details);
g_return_val_if_fail(factory != NULL, FALSE);

View file

@ -484,18 +484,17 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* this filter needs the bytestream package */
if (!gst_library_load("gstbytestream")) {
gst_info("mixmatrix:: could not load support library: 'gstbytestream'\n");
if (!gst_library_load ("gstbytestream"))
return FALSE;
}
factory = gst_element_factory_new("mixmatrix", GST_TYPE_MIXMATRIX, &mixmatrix_details);
g_return_val_if_fail(factory != NULL, FALSE);
factory = gst_element_factory_new ("mixmatrix", GST_TYPE_MIXMATRIX,
&mixmatrix_details);
g_return_val_if_fail (factory != NULL, FALSE);
sinktempl = mixmatrix_sink_factory();
sinktempl = mixmatrix_sink_factory ();
gst_element_factory_add_pad_template (factory, sinktempl);
srctempl = mixmatrix_src_factory();
srctempl = mixmatrix_src_factory ();
gst_element_factory_add_pad_template (factory, srctempl);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));

View file

@ -545,14 +545,12 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* this filter needs the getbits functions */
if (!gst_library_load("gstgetbits")) {
gst_info("system_encode:: could not load support library: 'gstgetbits'\n");
if (!gst_library_load ("gstgetbits"))
return FALSE;
}
/* create an elementfactory for the system_encode element */
factory = gst_element_factory_new("system_encode",GST_TYPE_SYSTEM_ENCODE,
&system_encode_details);
factory = gst_element_factory_new ("system_encode", GST_TYPE_SYSTEM_ENCODE,
&system_encode_details);
g_return_val_if_fail(factory != NULL, FALSE);
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory));

View file

@ -232,13 +232,11 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
GstTypeFactory *type;
if (!gst_library_load("gstbytestream")) {
gst_info("qtdemux: could not load support library 'gstbytestream'\n");
if (!gst_library_load ("gstbytestream"))
return FALSE;
}
factory = gst_element_factory_new("qtdemux",GST_TYPE_QTDEMUX,
&gst_qtdemux_details);
factory = gst_element_factory_new ("qtdemux", GST_TYPE_QTDEMUX,
&gst_qtdemux_details);
g_return_val_if_fail(factory != NULL, FALSE);
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);