mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
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.
This commit is contained in:
parent
b174f7a9a1
commit
96a1384af9
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue