diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-01-08 13:33:44 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-01-08 12:59:45 +0000 |
commit | a3011500024966677cd7e7d1cd3297cbaa643923 (patch) | |
tree | 7c7cc36ddfad2b15424e8262f16db639ebd38b2f /sys | |
parent | c22f92c7994c460b2eed3d4a448bb8d8a4bed1f0 (diff) | |
download | gstreamer-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.build | 5 |
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) |