spa-node: pass properties to plugin init func

This commit is contained in:
Wim Taymans 2018-01-16 16:51:24 +01:00
parent 21aad20f94
commit f1345f91a8

View file

@ -279,7 +279,10 @@ struct pw_node *pw_spa_node_load(struct pw_core *core,
handle = calloc(1, factory->size); handle = calloc(1, factory->size);
if ((res = spa_handle_factory_init(factory, if ((res = spa_handle_factory_init(factory,
handle, NULL, support, n_support)) < 0) { handle,
properties ? &properties->dict : NULL,
support,
n_support)) < 0) {
pw_log_error("can't make factory instance: %d", res); pw_log_error("can't make factory instance: %d", res);
goto init_failed; goto init_failed;
} }