mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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
This commit is contained in:
parent
275498ed35
commit
faa56ab3a8
3 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
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:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue