mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
meson: Add gst-plugins-base plugins directories to be used by tests
This commit is contained in:
parent
787f47604d
commit
375f3aab89
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ test_defines = [
|
||||||
]
|
]
|
||||||
|
|
||||||
getpluginsdir = find_program('getpluginsdir')
|
getpluginsdir = find_program('getpluginsdir')
|
||||||
runcmd = run_command(getpluginsdir, 'gstreamer', 'gstreamer-1.0')
|
runcmd = run_command(getpluginsdir, 'gstreamer', 'gstreamer-' + api_version,
|
||||||
|
'gst-plugins-base', 'gstreamer-plugins-base-' + api_version)
|
||||||
if runcmd.returncode() == 0
|
if runcmd.returncode() == 0
|
||||||
other_plugins_dir = runcmd.stdout().strip()
|
other_plugins_dir = runcmd.stdout().strip()
|
||||||
message('Using GStreamer plug-ins in ' + other_plugins_dir)
|
message('Using GStreamer plug-ins in ' + other_plugins_dir)
|
||||||
|
|
Loading…
Reference in a new issue