From db09aaf9a38fdd54b464d01b13f49b9dc3d8ed8f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 4 Jan 2019 12:58:37 +0100 Subject: [PATCH] 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. --- gst-uninstalled.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-uninstalled.py b/gst-uninstalled.py index 0c230a0405..99bf4876f7 100755 --- a/gst-uninstalled.py +++ b/gst-uninstalled.py @@ -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)