summaryrefslogtreecommitdiffstats
path: root/gst/mixmatrix/mixmatrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mixmatrix/mixmatrix.c')
-rw-r--r--gst/mixmatrix/mixmatrix.c13
1 files changed, 6 insertions, 7 deletions
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));