mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
update modules
This commit is contained in:
parent
6ab8af91e0
commit
17ef36c9c1
2 changed files with 4 additions and 2 deletions
|
|
@ -79,7 +79,8 @@ make_node (SpaHandle **handle, const SpaNode **node, const char *lib, const char
|
||||||
if (strcmp (factory->name, name))
|
if (strcmp (factory->name, name))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((res = factory->instantiate (factory, handle)) < 0) {
|
*handle = calloc (1, factory->size);
|
||||||
|
if ((res = factory->init (factory, *handle)) < 0) {
|
||||||
g_error ("can't make factory instance: %d", res);
|
g_error ("can't make factory instance: %d", res);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,8 @@ make_node (SpaHandle **handle, const SpaNode **node, const char *lib, const char
|
||||||
if (strcmp (factory->name, name))
|
if (strcmp (factory->name, name))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((res = factory->instantiate (factory, handle)) < 0) {
|
*handle = calloc (1, factory->size);
|
||||||
|
if ((res = factory->init (factory, *handle)) < 0) {
|
||||||
g_error ("can't make factory instance: %d", res);
|
g_error ("can't make factory instance: %d", res);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue