mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
client-node: only update info when change_mask set
This commit is contained in:
parent
755d7ca329
commit
0d8821096a
1 changed files with 2 additions and 1 deletions
|
|
@ -1029,7 +1029,8 @@ client_node_port_update(void *data,
|
||||||
n_params, params,
|
n_params, params,
|
||||||
info);
|
info);
|
||||||
|
|
||||||
if (this->callbacks && this->callbacks->port_info && info)
|
if (this->callbacks && this->callbacks->port_info &&
|
||||||
|
info && (change_mask & PW_CLIENT_NODE_PORT_UPDATE_INFO))
|
||||||
this->callbacks->port_info(this->callbacks_data, direction, port_id, info);
|
this->callbacks->port_info(this->callbacks_data, direction, port_id, info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue