mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
removing warnings as approved by wim
Original commit message from CVS: removing warnings as approved by wim
This commit is contained in:
parent
48e9846ca0
commit
af558bdc6f
4 changed files with 12 additions and 23 deletions
|
@ -233,7 +233,8 @@ gst_afparse_loop(GstElement *element)
|
||||||
/* we need to check for an event. */
|
/* we need to check for an event. */
|
||||||
gst_bytestream_get_status (bs, &waiting, &event);
|
gst_bytestream_get_status (bs, &waiting, &event);
|
||||||
if (event && GST_EVENT_TYPE(event) == GST_EVENT_EOS) {
|
if (event && GST_EVENT_TYPE(event) == GST_EVENT_EOS) {
|
||||||
gst_pad_push (afparse->srcpad, GST_BUFFER(gst_event_new (GST_EVENT_EOS)));
|
gst_pad_push (afparse->srcpad,
|
||||||
|
GST_BUFFER (gst_event_new (GST_EVENT_EOS)));
|
||||||
gst_element_set_eos (GST_ELEMENT (afparse));
|
gst_element_set_eos (GST_ELEMENT (afparse));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -285,7 +286,8 @@ gst_afparse_loop(GstElement *element)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_afparse_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
|
gst_afparse_set_property (GObject *object, guint prop_id,
|
||||||
|
const GValue *value, GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstAFParse *afparse;
|
GstAFParse *afparse;
|
||||||
|
|
||||||
|
@ -299,11 +301,11 @@ gst_afparse_set_property (GObject *object, guint prop_id, const GValue *value, G
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_afparse_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
|
gst_afparse_get_property (GObject *object, guint prop_id,
|
||||||
|
GValue *value, GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstAFParse *afparse;
|
GstAFParse *afparse;
|
||||||
|
|
||||||
/* it's not null if we got it, but it might not be ours */
|
|
||||||
g_return_if_fail (GST_IS_AFPARSE (object));
|
g_return_if_fail (GST_IS_AFPARSE (object));
|
||||||
|
|
||||||
afparse = GST_AFPARSE (object);
|
afparse = GST_AFPARSE (object);
|
||||||
|
@ -332,15 +334,9 @@ gst_afparse_plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
|
|
||||||
/* load audio support library */
|
/* load audio support library */
|
||||||
if (!gst_library_load ("gstaudio"))
|
if (!gst_library_load ("gstaudio"))
|
||||||
{
|
|
||||||
gst_info ("gstafparse/sink: could not load support library: 'gstaudio'\n");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
if (!gst_library_load ("gstbytestream"))
|
if (!gst_library_load ("gstbytestream"))
|
||||||
{
|
|
||||||
gst_info ("gstafparse/sink: could not load support library: 'gstbytestream'\n");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -286,10 +286,7 @@ gst_afsrc_plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
|
|
||||||
/* load audio support library */
|
/* load audio support library */
|
||||||
if (!gst_library_load ("gstaudio"))
|
if (!gst_library_load ("gstaudio"))
|
||||||
{
|
|
||||||
gst_info ("gstafsrc/sink: could not load support library: 'gstaudio'\n");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -487,10 +487,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
{
|
{
|
||||||
GstElementFactory *factory;
|
GstElementFactory *factory;
|
||||||
|
|
||||||
if (!gst_library_load ("gstbytestream")) {
|
if (!gst_library_load ("gstbytestream"))
|
||||||
gst_info("jack: could not load support library: 'gstbytestream'\n");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
factory = gst_element_factory_new ("jackbin", GST_TYPE_JACK_BIN, &gst_jack_bin_details);
|
factory = gst_element_factory_new ("jackbin", GST_TYPE_JACK_BIN, &gst_jack_bin_details);
|
||||||
g_return_val_if_fail (factory != NULL, FALSE);
|
g_return_val_if_fail (factory != NULL, FALSE);
|
||||||
|
|
|
@ -1163,10 +1163,8 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
||||||
|
|
||||||
LADSPAPluginSearch(ladspa_describe_plugin);
|
LADSPAPluginSearch(ladspa_describe_plugin);
|
||||||
|
|
||||||
if (! gst_library_load ("gstbytestream")) {
|
if (! gst_library_load ("gstbytestream"))
|
||||||
gst_info ("gstladspa: could not load support library: 'gstbytestream'\n");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
/* initialize dparam support library */
|
/* initialize dparam support library */
|
||||||
gst_control_init(NULL,NULL);
|
gst_control_init(NULL,NULL);
|
||||||
|
|
Loading…
Reference in a new issue