mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
spa-node: pass properties to plugin init func
This commit is contained in:
parent
21aad20f94
commit
f1345f91a8
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue