mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
metadata: return pw_metadata from factory create
That is what the factory return value says.
This commit is contained in:
parent
c968259348
commit
6394eb1b18
2 changed files with 10 additions and 7 deletions
|
|
@ -234,7 +234,7 @@ static const struct pw_resource_events global_resource_events = {
|
|||
.destroy = global_resource_destroy,
|
||||
};
|
||||
|
||||
void *
|
||||
struct pw_metadata *
|
||||
pw_metadata_new(struct pw_context *context, struct pw_resource *resource,
|
||||
struct pw_properties *properties)
|
||||
{
|
||||
|
|
@ -292,5 +292,5 @@ pw_metadata_new(struct pw_context *context, struct pw_resource *resource,
|
|||
&impl->resource_listener,
|
||||
&global_resource_events, impl);
|
||||
|
||||
return impl;
|
||||
return impl->metadata;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue