gstreamer/subprojects/gst-plugins-bad/sys/ipcpipeline/meson.build
jinsl00000 ef4cc9e637 ipcpipeline: fix crash and error on windows with SOCKET or _pipe()
The fd was in different meanings on windows:
POSIX read and write use the fd as a file descriptor.
The gst_poll use the fd as a WSASocket.

This patch use WSASocket as default on windows. This is a temporary measure, because IPC has many different implement. There may be a better way in the future.

See #1044

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1791>
2022-03-01 06:31:51 +00:00

24 lines
588 B
Meson

ipcpipeline_sources = [
'gstipcpipeline.c',
'gstipcpipelineelement.c',
'gstipcpipelinecomm.c',
'gstipcpipelinesink.c',
'gstipcpipelinesrc.c',
'gstipcslavepipeline.c'
]
if get_option('ipcpipeline').disabled()
subdir_done()
endif
gstipcpipeline = library('gstipcpipeline',
ipcpipeline_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstbase_dep] + winsock2,
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstipcpipeline, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstipcpipeline]