From: Guillaume Desmottes Date: Fri, 4 Jan 2019 11:58:37 +0000 (+0100) Subject: gst-uninstalled: define GST_OMX_CONFIG_DIR X-Git-Tag: 1.19.3~481^2~258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db09aaf9a38fdd54b464d01b13f49b9dc3d8ed8f;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst-uninstalled.py b/gst-uninstalled.py index 0c230a0..99bf487 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)