gst-uninstalled: define GST_OMX_CONFIG_DIR

GST_OMX_CONFIG_DIR is used by gst-omx to load the gstomx.conf associated
with the selected OMX target.
This commit is contained in:
Guillaume Desmottes 2019-01-04 12:58:37 +01:00
parent 9596096907
commit db09aaf9a3

View file

@ -149,6 +149,9 @@ def get_subprocess_env(options, gst_version):
if os.path.exists(uninstalled):
pkg_dirs.add(os.path.dirname(path))
if path.endswith('gstomx.conf'):
prepend_env_var(env, 'GST_OMX_CONFIG_DIR', os.path.dirname(path))
for p in presets:
prepend_env_var(env, 'GST_PRESET_PATH', p)