mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-17 07:00:03 -05:00
keys: add keys.h with defines and docs
Add a keys.h file that lists and documents all keys available to be used in properties.
This commit is contained in:
parent
7bb6515800
commit
3ad73f0532
52 changed files with 483 additions and 291 deletions
|
|
@ -371,10 +371,10 @@ handle_create_client_node(PipeWireDaemon1 * interface,
|
|||
pw_log_debug("protocol-dbus %p: create client-node: %s", impl, sender);
|
||||
props = pw_properties_from_variant(arg_properties);
|
||||
|
||||
target_node = pw_properties_get(props, PW_NODE_PROP_TARGET_NODE);
|
||||
target_node = pw_properties_get(props, PW_KEY_NODE_TARGET);
|
||||
if (target_node) {
|
||||
if (strncmp(target_node, "/org/pipewire/node_", strlen("/org/pipewire/node_")) == 0) {
|
||||
pw_properties_setf(props, PW_NODE_PROP_TARGET_NODE, "%s",
|
||||
pw_properties_setf(props, PW_KEY_NODE_TARGET, "%s",
|
||||
target_node + strlen("/org/pipewire/node_"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue