Skip to content

Commit

Permalink
Use correct plugin search path for locally cloned gstreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed May 17, 2019
1 parent cdd95ca commit 7f76ddd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/servo/command_base.py
Expand Up @@ -566,6 +566,9 @@ def set_run_env(self, android=False):
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."""
Expand Down

0 comments on commit 7f76ddd

Please sign in to comment.