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.
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):