gst/gstplugin.c: everything causing a plugin not to load should be at least a WARNING

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_register_func):
everything causing a plugin not to load should be at least a WARNING
parent 275498ed
2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstplugin.c: (gst_plugin_register_func):
everything causing a plugin not to load should be at least a WARNING
2005-11-28 Stefan Kost <ensonic@users.sf.net>
* docs/random/ensonic/dparams.txt:
......
common @ b0b08bcd
Subproject commit c04ad83a0c184fcd311de39371570b9e773a60d0
Subproject commit b0b08bcd66ca385364b6f90663585b09693aec67
......@@ -232,7 +232,7 @@ gst_plugin_register_func (GstPlugin * plugin, GModule * module,
{
if (!gst_plugin_check_version (desc->major_version, desc->minor_version)) {
if (GST_CAT_DEFAULT)
GST_INFO ("plugin \"%s\" has incompatible version, not loading",
GST_WARNING ("plugin \"%s\" has incompatible version, not loading",
plugin->filename);
return NULL;
}
......@@ -240,14 +240,14 @@ gst_plugin_register_func (GstPlugin * plugin, GModule * module,
if (!desc->license || !desc->description || !desc->source ||
!desc->package || !desc->origin) {
if (GST_CAT_DEFAULT)
GST_INFO ("plugin \"%s\" has incorrect GstPluginDesc, not loading",
GST_WARNING ("plugin \"%s\" has incorrect GstPluginDesc, not loading",
plugin->filename);
return NULL;
}
if (!gst_plugin_check_license (desc->license)) {
if (GST_CAT_DEFAULT)
GST_INFO ("plugin \"%s\" has invalid license \"%s\", not loading",
GST_WARNING ("plugin \"%s\" has invalid license \"%s\", not loading",
plugin->filename, desc->license);
return NULL;
}
......@@ -259,7 +259,7 @@ gst_plugin_register_func (GstPlugin * plugin, GModule * module,
if (!((desc->plugin_init) (plugin))) {
if (GST_CAT_DEFAULT)
GST_INFO ("plugin \"%s\" failed to initialise", plugin->filename);
GST_WARNING ("plugin \"%s\" failed to initialise", plugin->filename);
plugin->module = NULL;
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment