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
@ -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…
x
Reference in New Issue
Block a user