meson: Add gst-plugins-base plugins directories to be used by tests

This commit is contained in:
Thibault Saunier 2016-09-26 13:22:29 -03:00
parent 787f47604d
commit 375f3aab89

View file

@ -126,7 +126,8 @@ test_defines = [
]
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
other_plugins_dir = runcmd.stdout().strip()
message('Using GStreamer plug-ins in ' + other_plugins_dir)