mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Revert "impl-link: make passive link if both ports are passive"
This reverts commit 6a64b4461e.
Now that sinks and sources are no longer passive by default, we need
just one part of the link to be passive to make things passive.
This breaks the stream recording from a passive stream case but we can
find a different fix for that later.
This commit is contained in:
parent
0f27432f8c
commit
c84ef9e29a
1 changed files with 1 additions and 1 deletions
|
|
@ -1203,7 +1203,7 @@ struct pw_impl_link *pw_context_create_link(struct pw_context *context,
|
|||
|
||||
/* passive means that this link does not make the nodes active */
|
||||
str = pw_properties_get(properties, PW_KEY_LINK_PASSIVE);
|
||||
this->passive = str ? spa_atob(str) : output->passive && input->passive;
|
||||
this->passive = str ? spa_atob(str) : output->passive | input->passive;
|
||||
if (this->passive && str == NULL)
|
||||
pw_properties_set(properties, PW_KEY_LINK_PASSIVE, "true");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue