mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
c8db7a9127
`pipe()` isn't used since 15927b6511
,
and `socketpair()` from `#include <sys/socket.h>` is used only in the
examples. In practice, you can use probably also use anything that
allows you to create fd pairs, such as named pipes or anonymous pipes.
We use the cross-platform GstPollFD API in the plugin.
26 lines
700 B
Meson
26 lines
700 B
Meson
if get_option('ipcpipeline').disabled()
|
|
subdir_done()
|
|
endif
|
|
|
|
build_ipcpipeline_example = cc.has_header('sys/socket.h')
|
|
foreach f : ['kill', 'socketpair', 'fcntl', 'fork']
|
|
if build_ipcpipeline_example
|
|
build_ipcpipeline_example = cc.has_function(f)
|
|
endif
|
|
endforeach
|
|
|
|
if not build_ipcpipeline_example
|
|
subdir_done()
|
|
endif
|
|
|
|
executable('ipcpipeline1', 'ipcpipeline1.c',
|
|
include_directories: [configinc],
|
|
dependencies: [glib_dep, gst_dep, gstbase_dep],
|
|
c_args: gst_plugins_bad_args,
|
|
install: false)
|
|
|
|
executable('ipc-play', 'ipc-play.c',
|
|
include_directories: [configinc],
|
|
dependencies: [glib_dep, gst_dep, gstbase_dep, gstvideo_dep],
|
|
c_args: gst_plugins_bad_args,
|
|
install: false)
|