diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-09-09 23:24:29 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-09-09 23:24:29 +0000 |
commit | 48e9846ca04467222478a067fbba47f02ff19ea2 (patch) | |
tree | e6ee834257c4d9b22e8a89f619423ce3ff8e830e /gst/mixmatrix/mixmatrix.c | |
parent | e3741783bdcd448d594efe0f45fea2ae22611c62 (diff) |
removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
Diffstat (limited to 'gst/mixmatrix/mixmatrix.c')
-rw-r--r-- | gst/mixmatrix/mixmatrix.c | 13 |
1 files changed, 6 insertions, 7 deletions
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)); |