mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: don't clear dynamic node flag from node id in volume changed handler
It causes transport state handler don't emit node removing info. Fixes #1080.
This commit is contained in:
parent
0ddfbc0f62
commit
f44d00424f
1 changed files with 3 additions and 1 deletions
|
|
@ -442,7 +442,9 @@ static void dynamic_node_volume_changed(void *data)
|
|||
struct spa_pod_builder b = { 0 };
|
||||
struct spa_pod_frame f[1];
|
||||
struct spa_bt_transport_volume *t_volume;
|
||||
int id = SPA_FLAG_CLEAR(node->id, DYNAMIC_NODE_ID_FLAG), volume_id;
|
||||
int id = node->id, volume_id;
|
||||
|
||||
SPA_FLAG_CLEAR(id, DYNAMIC_NODE_ID_FLAG);
|
||||
|
||||
/* Remote device is the controller */
|
||||
if (!node->transport || impl->profile != DEVICE_PROFILE_AG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue