summaryrefslogtreecommitdiff
path: root/sys/msdk
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2018-10-29 21:51:14 +0200
committerJordan Petridis <jordan@centricular.com>2018-11-06 23:48:58 +0200
commit1e887f9b12f928defcc4bf3104d9f81cf23165ea (patch)
tree468d4509d4757486c2b3491d79946e91c1394cae /sys/msdk
parent84d3f58c4a6ce663be8827cd862145dc2039a166 (diff)
downloadgstreamer-plugins-bad-1e887f9b12f928defcc4bf3104d9f81cf23165ea.tar.gz
meson: avoid unkown variables in the msdk tests
Diffstat (limited to 'sys/msdk')
-rw-r--r--sys/msdk/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build
index bf3fb2179..bb0504562 100644
--- a/sys/msdk/meson.build
+++ b/sys/msdk/meson.build
@@ -30,6 +30,9 @@ else
msdk_sources += ['msdk_libva.c', 'gstmsdkallocator_libva.c']
endif
+have_msdk = false
+msdk_dep = []
+
msdk_option = get_option('msdk')
if msdk_option.disabled()
subdir_done()
@@ -41,9 +44,6 @@ if msdk_root == '' and msdk_option.enabled()
error('msdk plugin enabled but Intel Media SDK not found: neither INTELMEDIASDKROOT nor MFX_HOME were set')
endif
-have_msdk = false
-msdk_dep = []
-
if msdk_root != ''
msdk_libdir = [msdk_root + '/lib/lin_x64', msdk_root + '/lib/x64', msdk_root + '/lib64']
msdk_incdir = include_directories(msdk_root + '/include')