mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
link: always activate the link
Always activate the link, don't rely on the node to activate us.
This commit is contained in:
parent
1cdb7e0214
commit
2ac2822d4f
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ static void pw_link_update_state(struct pw_link *link, enum pw_link_state state,
|
|||
pw_node_set_state(out, PW_NODE_STATE_RUNNING);
|
||||
if (++in->n_ready_input_links == in->n_used_input_links)
|
||||
pw_node_set_state(in, PW_NODE_STATE_RUNNING);
|
||||
pw_link_activate(link);
|
||||
}
|
||||
else if (old == PW_LINK_STATE_PAUSED && state < PW_LINK_STATE_PAUSED) {
|
||||
if (--out->n_ready_output_links == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue