mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
plugin: load plugins with unknown license strings
We shouldn't fail to load plugins just because we don't recognise the license string. It's not our job to validate licenses, and the license list is outdated and ambiguous anyway. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/865>
This commit is contained in:
parent
0a63363f1a
commit
a3ebe6c010
1 changed files with 2 additions and 2 deletions
|
@ -505,9 +505,9 @@ gst_plugin_register_func (GstPlugin * plugin, const GstPluginDesc * desc,
|
|||
|
||||
if (!gst_plugin_check_license (desc->license)) {
|
||||
if (GST_CAT_DEFAULT)
|
||||
GST_WARNING ("plugin \"%s\" has invalid license \"%s\", not loading",
|
||||
GST_WARNING ("plugin \"%s\" has unknown license \"%s\"",
|
||||
GST_STR_NULL (plugin->filename), desc->license);
|
||||
return NULL;
|
||||
/* We still want to load the plugin, it's not our job to validate licenses */
|
||||
}
|
||||
|
||||
if (GST_CAT_DEFAULT)
|
||||
|
|
Loading…
Reference in a new issue