mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
removing warnings (approved by wtay)
Original commit message from CVS: removing warnings (approved by wtay)
This commit is contained in:
parent
e3741783bd
commit
48e9846ca0
5 changed files with 14 additions and 23 deletions
|
@ -335,10 +335,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
GstTypeFactory *type;
|
||||
|
||||
/* this filter needs the riff parser */
|
||||
if (!gst_library_load ("gstbytestream")) {
|
||||
gst_info("cdxaparse: could not load support library: 'gstbytestream'\n");
|
||||
if (!gst_library_load ("gstbytestream"))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* create an elementfactory for the cdxa_parse element */
|
||||
factory = gst_element_factory_new ("cdxaparse", GST_TYPE_CDXA_PARSE,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -484,18 +484,17 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||
GstElementFactory *factory;
|
||||
|
||||
/* this filter needs the bytestream package */
|
||||
if (!gst_library_load("gstbytestream")) {
|
||||
gst_info("mixmatrix:: could not load support library: 'gstbytestream'\n");
|
||||
if (!gst_library_load ("gstbytestream"))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
factory = gst_element_factory_new("mixmatrix", GST_TYPE_MIXMATRIX, &mixmatrix_details);
|
||||
g_return_val_if_fail(factory != NULL, FALSE);
|
||||
factory = gst_element_factory_new ("mixmatrix", GST_TYPE_MIXMATRIX,
|
||||
&mixmatrix_details);
|
||||
g_return_val_if_fail (factory != NULL, FALSE);
|
||||
|
||||
sinktempl = mixmatrix_sink_factory();
|
||||
sinktempl = mixmatrix_sink_factory ();
|
||||
gst_element_factory_add_pad_template (factory, sinktempl);
|
||||
|
||||
srctempl = mixmatrix_src_factory();
|
||||
srctempl = mixmatrix_src_factory ();
|
||||
gst_element_factory_add_pad_template (factory, srctempl);
|
||||
|
||||
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
|
||||
|
|
|
@ -545,13 +545,11 @@ 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,
|
||||
factory = gst_element_factory_new ("system_encode", GST_TYPE_SYSTEM_ENCODE,
|
||||
&system_encode_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