mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: only find links to source or sink
Those are the only links we care about in the sink_input or source_output info.
This commit is contained in:
parent
6d5563a978
commit
ed2d6b2cce
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ struct global *pa_context_find_linked(pa_context *c, uint32_t idx)
|
||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL ||
|
||||||
|
!(f->mask & (PA_SUBSCRIPTION_MASK_SINK | PA_SUBSCRIPTION_MASK_SOURCE)))
|
||||||
continue;
|
continue;
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue