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/qtdemux/qtdemux.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gst/qtdemux') diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 10cbec43..3fc8acc0 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); -- cgit v1.2.1