mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
e2bdc0c48d
The meson build doesn't automatically set HAVE_CPU_* defines like autotools did, so the yadif plugin was being built without the MMX assembler support
24 lines
544 B
Meson
24 lines
544 B
Meson
yadif_sources = [
|
|
'gstyadif.c',
|
|
'vf_yadif.c',
|
|
'yadif.c'
|
|
]
|
|
|
|
local_c_args = gst_plugins_bad_args
|
|
|
|
# The plugin can build asm extensions
|
|
# on x86_64
|
|
if host_machine.cpu() == 'x86_64'
|
|
local_c_args += ['-DHAVE_CPU_X86_64=1']
|
|
endif
|
|
|
|
gstyadif = library('gstyadif',
|
|
yadif_sources,
|
|
c_args : local_c_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gstvideo_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstyadif, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstyadif]
|