diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 6235b5e5e2..6aa63902be 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -685,10 +685,8 @@ plugin_init (GModule *module, GstPlugin *plugin) &adder_details); g_return_val_if_fail(factory != NULL, FALSE); - if (! gst_library_load ("gstbytestream")) { - gst_info ("gstadder: could not load support library: 'gstbytestream'\n"); + if (! gst_library_load ("gstbytestream")) return FALSE; - } gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (gst_adder_src_template_factory)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (gst_adder_sink_template_factory)); diff --git a/gst/audioscale/gstaudioscale.c b/gst/audioscale/gstaudioscale.c index ea229726e9..4e0ce7c642 100644 --- a/gst/audioscale/gstaudioscale.c +++ b/gst/audioscale/gstaudioscale.c @@ -334,10 +334,7 @@ plugin_init (GModule *module, GstPlugin *plugin) /* load support library */ if (!gst_library_load ("gstresample")) - { - gst_info ("audioscale: could not load support library: 'gstresample'\n"); return FALSE; - } return TRUE; }