pluginloader: support multiple subdirectories for GST_PLUGIN_SUBDIR (libdir)
authorMatthew Waters <matthew@centricular.com>
Mon, 7 Feb 2022 05:51:25 +0000 (16:51 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Feb 2022 09:37:57 +0000 (09:37 +0000)
commit74233cfd67e3f0b95c2a66117fa53ab0fbd606f5
tree08cf763aa5f093323a499fced062f52d8a6a7cfd
parenta7b9857647841c0d850a4443cc6e832e13c30dd1
pluginloader: support multiple subdirectories for GST_PLUGIN_SUBDIR (libdir)

i.e. if GST_PLUGIN_SUBDIR is 'some/lib/path', then the default plugin
loading assumed that there was only 'lib' as it only went up a single
directory to then find the plugin scanner.

Fix to support multiple subdirectories for GST_PLUGIN_SUBDIR (libdir).

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/995

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1644>
subprojects/gstreamer/gst/gstpluginloader.c
subprojects/gstreamer/meson.build