summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavidemux.c
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
commit4ec41347e2c8aadcf7203f324eab286ac85429f4 (patch)
tree824b2fd04a29555e7287cdff5ce53e7248d18984 /gst/avi/gstavidemux.c
parenta7b776e7f7bfaa4ce6d9010e525af363c496ae82 (diff)
removing warnings (approved by wtay)
Original commit message from CVS: removing warnings (approved by wtay)
Diffstat (limited to 'gst/avi/gstavidemux.c')
-rw-r--r--gst/avi/gstavidemux.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index d9ec2059..44d9478e 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -1462,18 +1462,14 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstTypeFactory *type;
/* this filter needs the riff parser */
- if (!gst_library_load ("gstbytestream")) {
- gst_info("avidemux: could not load support library: 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
- if (!gst_library_load ("gstriff")) {
- gst_info("avidemux: could not load support library: 'gstriff'\n");
+ if (!gst_library_load ("gstriff"))
return FALSE;
- }
/* create an elementfactory for the avi_demux element */
- factory = gst_element_factory_new ("avidemux",GST_TYPE_AVI_DEMUX,
- &gst_avi_demux_details);
+ factory = gst_element_factory_new ("avidemux", GST_TYPE_AVI_DEMUX,
+ &gst_avi_demux_details);
g_return_val_if_fail (factory != NULL, FALSE);
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);