From: Alicia Boya GarcĂ­a Date: Fri, 23 Nov 2018 14:42:03 +0000 (+0100) Subject: gst-uninstalled: Don't add validate plugins to GST_PLUGIN_PATH X-Git-Tag: 1.19.3~481^2~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96a1384af94f9412bba110b4523c3e9cce31e204;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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):