mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
msdk: meson: compile vp9dec if available
based on the patches provided by Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
c22f92c799
commit
a301150002
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,11 @@ if cxx.has_header('mfx/mfxdefs.h', args: '-I' + mfx_incdir)
|
||||||
mfx_incdir = join_paths([mfx_incdir, 'mfx'])
|
mfx_incdir = join_paths([mfx_incdir, 'mfx'])
|
||||||
endif
|
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'
|
if host_machine.system() == 'windows'
|
||||||
legacy_stdio_dep = cc.find_library('legacy_stdio_definitions', required: true)
|
legacy_stdio_dep = cc.find_library('legacy_stdio_definitions', required: true)
|
||||||
d3d11_dep = cc.find_library('d3d11', required: true)
|
d3d11_dep = cc.find_library('d3d11', required: true)
|
||||||
|
|
Loading…
Reference in a new issue