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
|
|
@ -2270,6 +2270,8 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
this->timerfd = spa_system_timerfd_create(this->data_system,
|
||||
CLOCK_MONOTONIC, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
|
||||
if (this->timerfd < 0)
|
||||
return this->timerfd;
|
||||
|
||||
this->node_latency = 512;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue