mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
context: wait for proxy info
Only become connected after we have received all proxy bind replies.
This commit is contained in:
parent
032cc69f2f
commit
70255b5ecd
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ core_event_done (void *object,
|
||||||
PinosContext *this = proxy->context;
|
PinosContext *this = proxy->context;
|
||||||
|
|
||||||
if (seq == 0) {
|
if (seq == 0) {
|
||||||
|
pinos_core_do_sync (this->core_proxy, 1);
|
||||||
|
} else if (seq == 1) {
|
||||||
context_set_state (this, PINOS_CONTEXT_STATE_CONNECTED, NULL);
|
context_set_state (this, PINOS_CONTEXT_STATE_CONNECTED, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue