mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-06 06:46:29 -04:00
plugins: handle some fd allocation errors
This commit is contained in:
parent
09dda9e4e0
commit
96594d6716
9 changed files with 20 additions and 0 deletions
|
|
@ -1392,6 +1392,8 @@ static void node_initialized(void *data)
|
|||
|
||||
impl->data_source.fd = spa_system_eventfd_create(data_system,
|
||||
SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
|
||||
if (impl->data_source.fd < 0)
|
||||
return;
|
||||
|
||||
spa_loop_add_source(impl->data_loop, &impl->data_source);
|
||||
pw_log_debug("%p: transport read-fd:%d write-fd:%d", impl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue