gstpluginloader: when env var is set do not fall through to system plugin scanner
authorJose Quaresma <quaresma.jose@gmail.com>
Sat, 10 Oct 2020 19:09:03 +0000 (19:09 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 7 Apr 2021 22:56:47 +0000 (22:56 +0000)
commit9f958058697e6fbf5bde325228034572331d1a3a
tree1a5c97c90027a57ac7e458e0c28038e3b5fcf8b9
parent10b38146e8f10b52ce60e97ad3f2172b40a84db8
gstpluginloader: when env var is set do not fall through to system plugin scanner

If we set a custom GST_PLUGIN_SCANNER env var, then we probably want to use that and only that.

Falling through to the one installed on the system is problamatic in cross-compilation
environemnts, regardless of whether one pointed to by the env var succeeded or failed.

taken from:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch?id=0db7ba34ca41b107042306d13a6f0162885c123b

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