summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-09-09 23:24:29 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-09-09 23:24:29 +0000
commit48e9846ca04467222478a067fbba47f02ff19ea2 (patch)
treee6ee834257c4d9b22e8a89f619423ce3ff8e830e
parente3741783bdcd448d594efe0f45fea2ae22611c62 (diff)
downloadgstreamer-plugins-bad-48e9846ca04467222478a067fbba47f02ff19ea2.tar.gz
removing warnings (approved by wtay)
Original commit message from CVS: removing warnings (approved by wtay)
-rw-r--r--gst/cdxaparse/gstcdxaparse.c4
-rw-r--r--gst/flx/gstflxdec.c4
-rw-r--r--gst/mixmatrix/mixmatrix.c13
-rw-r--r--gst/mpeg1sys/gstmpeg1systemencode.c8
-rw-r--r--gst/qtdemux/qtdemux.c8
5 files changed, 14 insertions, 23 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c
index 27cf3a53b..08e5ba9ba 100644
--- a/gst/cdxaparse/gstcdxaparse.c
+++ b/gst/cdxaparse/gstcdxaparse.c
@@ -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,
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c
index 0b099cbc5..d54fc9886 100644
--- a/gst/flx/gstflxdec.c
+++ b/gst/flx/gstflxdec.c
@@ -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);
diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c
index a8aaf3302..a0dd9a0b3 100644
--- a/gst/mixmatrix/mixmatrix.c
+++ b/gst/mixmatrix/mixmatrix.c
@@ -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));
diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c
index e76be2eba..3c2ed6cd7 100644
--- a/gst/mpeg1sys/gstmpeg1systemencode.c
+++ b/gst/mpeg1sys/gstmpeg1systemencode.c
@@ -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));
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 10cbec43f..3fc8acc05 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -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);