summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-08 13:33:44 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-08 12:59:45 +0000
commita3011500024966677cd7e7d1cd3297cbaa643923 (patch)
tree7c7cc36ddfad2b15424e8262f16db639ebd38b2f /sys
parentc22f92c7994c460b2eed3d4a448bb8d8a4bed1f0 (diff)
downloadgstreamer-plugins-bad-a3011500024966677cd7e7d1cd3297cbaa643923.tar.gz
msdk: meson: compile vp9dec if available
based on the patches provided by Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'sys')
-rw-r--r--sys/msdk/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build
index 363c15574..046c0cd6b 100644
--- a/sys/msdk/meson.build
+++ b/sys/msdk/meson.build
@@ -64,6 +64,11 @@ if cxx.has_header('mfx/mfxdefs.h', args: '-I' + mfx_incdir)
mfx_incdir = join_paths([mfx_incdir, 'mfx'])
endif
+if cxx.has_header('mfxvp9.h', args: '-I' + mfx_incdir)
+ msdk_sources += [ 'gstmsdkvp9dec.c' ]
+ cdata.set10('USE_MSDK_VP9_DEC', 1)
+endif
+
if host_machine.system() == 'windows'
legacy_stdio_dep = cc.find_library('legacy_stdio_definitions', required: true)
d3d11_dep = cc.find_library('d3d11', required: true)