summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-09-09 23:24:29 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-09-09 23:24:29 +0000
commit48e9846ca04467222478a067fbba47f02ff19ea2 (patch)
treee6ee834257c4d9b22e8a89f619423ce3ff8e830e /gst/qtdemux
parente3741783bdcd448d594efe0f45fea2ae22611c62 (diff)
downloadgst-plugins-bad-48e9846ca04467222478a067fbba47f02ff19ea2.tar.gz
gst-plugins-bad-48e9846ca04467222478a067fbba47f02ff19ea2.tar.bz2
gst-plugins-bad-48e9846ca04467222478a067fbba47f02ff19ea2.zip
removing warnings (approved by wtay)
Original commit message from CVS: removing warnings (approved by wtay)
Diffstat (limited to 'gst/qtdemux')
-rw-r--r--gst/qtdemux/qtdemux.c8
1 files changed, 3 insertions, 5 deletions
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);