mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
avb: properties are owned by avb object
This commit is contained in:
parent
10e54dc0ee
commit
4304a147e9
1 changed files with 0 additions and 4 deletions
|
|
@ -66,14 +66,11 @@ struct impl {
|
||||||
struct pw_impl_module *module;
|
struct pw_impl_module *module;
|
||||||
struct spa_hook module_listener;
|
struct spa_hook module_listener;
|
||||||
|
|
||||||
struct pw_properties *properties;
|
|
||||||
|
|
||||||
struct pw_avb *avb;
|
struct pw_avb *avb;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void impl_free(struct impl *impl)
|
static void impl_free(struct impl *impl)
|
||||||
{
|
{
|
||||||
pw_properties_free(impl->properties);
|
|
||||||
free(impl);
|
free(impl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -114,7 +111,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
||||||
|
|
||||||
impl->module = module;
|
impl->module = module;
|
||||||
impl->context = context;
|
impl->context = context;
|
||||||
impl->properties = props;
|
|
||||||
|
|
||||||
impl->avb = pw_avb_new(context, props, 0);
|
impl->avb = pw_avb_new(context, props, 0);
|
||||||
if (impl->avb == NULL)
|
if (impl->avb == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue