mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
impl-node: initialize the driving state correctly
A new node is driving only when it is a driver.
This commit is contained in:
parent
5303fced50
commit
5e6dc48013
1 changed files with 1 additions and 1 deletions
|
|
@ -1341,7 +1341,7 @@ struct pw_impl_node *pw_context_create_node(struct pw_context *context,
|
||||||
|
|
||||||
this->driver_node = this;
|
this->driver_node = this;
|
||||||
spa_list_append(&this->follower_list, &this->follower_link);
|
spa_list_append(&this->follower_list, &this->follower_link);
|
||||||
this->driving = true;
|
this->driving = this->driver;
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue