mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
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:
parent
9596096907
commit
db09aaf9a3
1 changed files with 3 additions and 0 deletions
|
@ -149,6 +149,9 @@ def get_subprocess_env(options, gst_version):
|
||||||
if os.path.exists(uninstalled):
|
if os.path.exists(uninstalled):
|
||||||
pkg_dirs.add(os.path.dirname(path))
|
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:
|
for p in presets:
|
||||||
prepend_env_var(env, 'GST_PRESET_PATH', p)
|
prepend_env_var(env, 'GST_PRESET_PATH', p)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue