mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
removing warnings (approved by wtay)
Original commit message from CVS: removing warnings (approved by wtay)
This commit is contained in:
parent
a7b776e7f7
commit
4ec41347e2
5 changed files with 10 additions and 23 deletions
|
@ -1462,17 +1462,13 @@ 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,
|
||||
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);
|
||||
|
|
|
@ -1121,10 +1121,8 @@ 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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -232,12 +232,10 @@ 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,
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue