removing warnings (approved by wtay)

Original commit message from CVS:
removing warnings (approved by wtay)
parent e3741783
......@@ -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,
......
......@@ -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);
......
......@@ -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));
......
......@@ -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));
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment