mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
12e82aac28
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>
19 lines
485 B
Meson
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
|