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/mpeg1sys | |
parent | e3741783bdcd448d594efe0f45fea2ae22611c62 (diff) | |
download | gst-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/mpeg1sys')
-rw-r--r-- | gst/mpeg1sys/gstmpeg1systemencode.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index e76be2eb..3c2ed6cd 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.c +++ b/gst/mpeg1sys/gstmpeg1systemencode.c @@ -545,14 +545,12 @@ plugin_init (GModule *module, GstPlugin *plugin) GstElementFactory *factory; /* this filter needs the getbits functions */ - if (!gst_library_load("gstgetbits")) { - gst_info("system_encode:: could not load support library: 'gstgetbits'\n"); + if (!gst_library_load ("gstgetbits")) return FALSE; - } /* create an elementfactory for the system_encode element */ - factory = gst_element_factory_new("system_encode",GST_TYPE_SYSTEM_ENCODE, - &system_encode_details); + factory = gst_element_factory_new ("system_encode", GST_TYPE_SYSTEM_ENCODE, + &system_encode_details); g_return_val_if_fail(factory != NULL, FALSE); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory)); |