gstreamer/subprojects/gst-plugins-bad/gst/unixfd/meson.build
Xavier Claessens f1a1901b8b unixfd: New plugin with unixfdsink and unixfdsrc elements
This pair of elements, inspired from shmsink/shmsrc, send unix file
descriptors (e.g. memfd, dmabuf) from one sink to multiple source
elements in other processes.

The unixfdsink proposes a memfd/shm allocator, which causes for example
videotestsrc to write directly into memories that can be transfered to
other processes without copying.

Sponsored-by: Netflix Inc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5328>
2023-11-03 18:22:00 +00:00

24 lines
539 B
Meson

sources = [
'gstunixfd.c',
'gstunixfdsink.c',
'gstunixfdsrc.c',
]
gstallocators_dep = dependency('gstreamer-allocators-1.0')
gio_unix_dep = dependency('gio-unix-2.0', required: get_option('unixfd'))
if not gio_unix_dep.found()
subdir_done()
endif
gstunixfd_plugin = library('gstunixfd',
sources,
c_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies : [gstbase_dep, gstallocators_dep, gio_dep, gio_unix_dep],
install : true,
install_dir : plugins_install_dir,
)
plugins += [gstunixfd_plugin]