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 | 4ec41347e2c8aadcf7203f324eab286ac85429f4 (patch) | |
| tree | 824b2fd04a29555e7287cdff5ce53e7248d18984 | |
| parent | a7b776e7f7bfaa4ce6d9010e525af363c496ae82 (diff) | |
removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
| -rw-r--r-- | gst/avi/gstavidemux.c | 12 | ||||
| -rw-r--r-- | gst/avi/gstavimux.c | 6 | ||||
| -rw-r--r-- | gst/cutter/gstcutter.c | 3 | ||||
| -rw-r--r-- | gst/flx/gstflxdec.c | 4 | ||||
| -rw-r--r-- | gst/qtdemux/qtdemux.c | 8 | 
5 files changed, 10 insertions, 23 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); diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 83b0a9a0..211a2901 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1121,15 +1121,13 @@ plugin_init (GModule *module, GstPlugin *plugin)    /* this filter needs the riff parser */  #if 0 -  if (!gst_library_load ("gstriff")) { -    gst_info ("avimux: could not load support library: 'gstriff'\n"); +  if (!gst_library_load ("gstriff"))      return FALSE; -  }  #endif    /* create an elementfactory for the avimux element */    factory = gst_element_factory_new ("avimux", GST_TYPE_AVIMUX, -                                    &gst_avimux_details); +                                     &gst_avimux_details);    g_return_val_if_fail (factory != NULL, FALSE);    gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory)); diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c index 065f81c1..e8d8e015 100644 --- a/gst/cutter/gstcutter.c +++ b/gst/cutter/gstcutter.c @@ -396,10 +396,7 @@ plugin_init (GModule *module, GstPlugin *plugin)    /* load audio support library */    if (!gst_library_load ("gstaudio")) -  { -    gst_info ("cutter: could not load support library: 'gstaudio'\n");      return FALSE; -  }    return TRUE;  } diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 0b099cbc..d54fc988 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -678,10 +678,8 @@ plugin_init (GModule *module, GstPlugin *plugin)    GstTypeFactory *type;    /* this filter needs the bytestream package */ -  if (!gst_library_load("gstbytestream")) { -    gst_info("flxdec:: could not load support library: 'gstbytestream'\n"); +  if (!gst_library_load ("gstbytestream"))      return FALSE; -  }    factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_details);    g_return_val_if_fail(factory != NULL, FALSE); 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);  | 
