aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-05-16 09:05:10 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-05-17 13:31:29 -0700
commit7f76ddd6b300cd33d129fbc2d47e56c58abea829 (patch)
tree2d54e0de9202f8bb8f88b53274859555e0cc1b3f /python/servo/command_base.py
parentcdd95caa8dc46c3e5868c83dee090e12e9d2ed62 (diff)
downloadservo-7f76ddd6b300cd33d129fbc2d47e56c58abea829.tar.gz
servo-7f76ddd6b300cd33d129fbc2d47e56c58abea829.zip
Use correct plugin search path for locally cloned gstreamer
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 0babff052f3..a7e6ead3bf0 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -566,6 +566,9 @@ install them, let us know by filing a bug!")
if not android and self.needs_gstreamer_env(None):
gstpath = self.get_gstreamer_path()
os.environ["LD_LIBRARY_PATH"] = path.join(gstpath, "lib")
+ os.environ["GST_PLUGIN_SYSTEM_PATH"] = path.join(gstpath, "lib", "gstreamer-1.0")
+ os.environ["PKG_CONFIG_PATH"] = path.join(gstpath, "lib", "pkgconfig")
+ os.environ["GST_PLUGIN_SCANNER"] = path.join(gstpath, "libexec", "gstreamer-1.0", "gst-plugin-scanner")
def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit=False):
"""Return an extended environment dictionary."""