jack: use context properties for rules

For a JACK client, the context and node is the same. It makes sense to
also run the rules on the context properties so that application
name etc. can be matched as well.

Fixes #2580
This commit is contained in:
Wim Taymans 2022-08-10 09:52:20 +02:00
parent 83e3aba980
commit ab898f8ae6

View file

@ -3282,7 +3282,7 @@ jack_client_t * jack_client_open (const char *client_name,
"jack.properties", client->props);
pw_context_conf_section_match_rules(client->context.context, "jack.rules",
&client->props->dict, execute_match, client);
&client->context.context->properties->dict, execute_match, client);
support = pw_context_get_support(client->context.context, &n_support);