jack: when leaving freewheel, set property to empty string

Setting it to NULL will remove it from the properties and will not
send the updated property to the server, keeping things freewheeling
forever.
This commit is contained in:
Wim Taymans 2024-02-28 18:53:52 +01:00
parent 66792c1e77
commit 94d19f2673

View file

@ -4807,7 +4807,7 @@ int jack_set_freewheel(jack_client_t* client, int onoff)
}
} else {
pw_properties_set(c->props, PW_KEY_NODE_GROUP,
onoff ? "pipewire.freewheel" : NULL);
onoff ? "pipewire.freewheel" : "");
}
c->info.change_mask |= SPA_NODE_CHANGE_MASK_PROPS;