mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
node: add max_ports to node info
This commit is contained in:
parent
21957e9e8d
commit
e9bedae5fa
30 changed files with 124 additions and 99 deletions
|
|
@ -284,9 +284,9 @@ static int negotiate_link_buffers(struct impl *this, struct link *link)
|
|||
spa_pod_fixate(param);
|
||||
|
||||
in_alloc = SPA_FLAG_CHECK(link->in_flags,
|
||||
SPA_PORT_INFO_FLAG_CAN_ALLOC_BUFFERS);
|
||||
SPA_PORT_FLAG_CAN_ALLOC_BUFFERS);
|
||||
out_alloc = SPA_FLAG_CHECK(link->out_flags,
|
||||
SPA_PORT_INFO_FLAG_CAN_ALLOC_BUFFERS);
|
||||
SPA_PORT_FLAG_CAN_ALLOC_BUFFERS);
|
||||
|
||||
flags = 0;
|
||||
if (out_alloc || in_alloc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue