From 96a1384af94f9412bba110b4523c3e9cce31e204 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alicia=20Boya=20Garc=C3=ADa?= Date: Fri, 23 Nov 2018 15:42:03 +0100 Subject: [PATCH] gst-uninstalled: Don't add validate plugins to GST_PLUGIN_PATH Validate plugins are automatically scanned from GST_VALIDATE_PLUGIN_PATH instead. Adding them to GST_PLUGIN_PATH causes race conditions as the plugins may be loaded before validate itself. --- gst-uninstalled.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-uninstalled.py b/gst-uninstalled.py index 48f6637..0596535 100755 --- a/gst-uninstalled.py +++ b/gst-uninstalled.py @@ -81,9 +81,12 @@ def get_subprocess_env(options, gst_version): targets = json.loads(targets_s.decode()) paths = set() mono_paths = set() + srcdir_path = pathlib.Path(options.srcdir) for target in targets: filename = target['filename'] root = os.path.dirname(filename) + if srcdir_path / "subprojects/gst-devtools/validate/plugins" in (srcdir_path / root).parents: + continue if filename.endswith('.dll'): mono_paths.add(os.path.join(options.builddir, root)) if typelib_reg.search(filename): -- 2.7.4