From 48e9846ca04467222478a067fbba47f02ff19ea2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 9 Sep 2002 23:24:29 +0000 Subject: removing warnings (approved by wtay) Original commit message from CVS: removing warnings (approved by wtay) --- gst/mixmatrix/mixmatrix.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gst/mixmatrix/mixmatrix.c') diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index a8aaf330..a0dd9a0b 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)); -- cgit v1.2.1