mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
pod: first compare, then advance to next item
This commit is contained in:
parent
0534571f7d
commit
49d8f6792e
2 changed files with 7 additions and 6 deletions
|
|
@ -155,6 +155,7 @@ static int do_negotiate(struct pw_link *this, uint32_t in_state, uint32_t out_st
|
|||
out_state = PW_PORT_STATE_CONFIGURE;
|
||||
}
|
||||
else {
|
||||
pw_log_debug("link %p: format was already set", this);
|
||||
pw_node_update_state(output->node, PW_NODE_STATE_RUNNING, NULL);
|
||||
changed = false;
|
||||
}
|
||||
|
|
@ -175,6 +176,7 @@ static int do_negotiate(struct pw_link *this, uint32_t in_state, uint32_t out_st
|
|||
in_state = PW_PORT_STATE_CONFIGURE;
|
||||
}
|
||||
else {
|
||||
pw_log_debug("link %p: format was already set", this);
|
||||
pw_node_update_state(input->node, PW_NODE_STATE_RUNNING, NULL);
|
||||
changed = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue