mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse-server: after new event, clear changes
Remove any pending changes after we emited the new event.
This commit is contained in:
parent
a65d4d04c3
commit
3d6e87832d
1 changed files with 1 additions and 0 deletions
|
|
@ -598,6 +598,7 @@ static void on_core_done(void *data, uint32_t id, int seq)
|
||||||
if (o->this.creating) {
|
if (o->this.creating) {
|
||||||
o->this.creating = false;
|
o->this.creating = false;
|
||||||
manager_emit_added(m, &o->this);
|
manager_emit_added(m, &o->this);
|
||||||
|
o->this.changed = 0;
|
||||||
} else if (o->this.changed > 0) {
|
} else if (o->this.changed > 0) {
|
||||||
manager_emit_updated(m, &o->this);
|
manager_emit_updated(m, &o->this);
|
||||||
o->this.changed = 0;
|
o->this.changed = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue