plugin: load plugins with unknown license strings
authorTim-Philipp Müller <tim@centricular.com>
Tue, 10 Aug 2021 12:35:14 +0000 (13:35 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 10 Aug 2021 13:10:22 +0000 (14:10 +0100)
commitbb48c4c9f6012f86f777f1814b0cfebbb7f9c704
tree8b49e53dbbefafae09f73ef4ed6b7deab54b6d48
parent77ffed293fe8c5e41dd0354558615fa0d23c5a75
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.

Also add MPL-2.0 to the list, and fix some defunct license
URLs in the code comments.

Get rid of the hard-coded skip index, doesn't really buy us
much versus just skipping with a few strlens, and is harder
to maintain.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/864>
gst/gstplugin.c