gstreamer/sys/kms/meson.build
Michael Tretter 12e82aac28 kmssink: remove dependency on libkms
libkms should not be used, because it imposes limitations on the DRM
API, especially regarding bpp and stride. Instead the DRM IOCTL should
be used directly.

Switch from libkms to the IOCTL interface. Set bpp and height for
framebuffer allocation to properly handle planar video formats.

https://bugzilla.gnome.org/show_bug.cgi?id=773473

Signed-off-by: Víctor Jáquez <vjaquez@igalia.com>
2016-11-23 16:43:28 +01:00

19 lines
485 B
Meson

kmssink_sources = [
'gstkmsallocator.c',
'gstkmsbufferpool.c',
'gstkmssink.c',
'gstkmsutils.c',
]
libdrm_dep = dependency('libdrm', version : '>= 2.4.55', required : false)
if libdrm_dep.found()
gstkmssink = library('gstkmssink',
kmssink_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstbase_dep, gstvideo_dep, gstallocators_dep, libdrm_dep],
install : true,
install_dir : plugins_install_dir,
)
endif