From c9cf914d85a0874ad632bac8e455d3dd60eff627 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 23 Apr 2022 12:31:13 +0200 Subject: [PATCH] filter: don't use invalid context The context is not yet set on the impl. Fixes #2323 --- src/pipewire/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/filter.c b/src/pipewire/filter.c index 95a6a837c..df5b35519 100644 --- a/src/pipewire/filter.c +++ b/src/pipewire/filter.c @@ -1216,7 +1216,7 @@ filter_new(struct pw_context *context, const char *name, pw_context_conf_update_props(context, "filter.properties", props); - pw_context_conf_section_match_rules(impl->context, "filter.rules", + pw_context_conf_section_match_rules(context, "filter.rules", &this->properties->dict, execute_match, this); if ((str = getenv("PIPEWIRE_PROPS")) != NULL)