mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 14:48:02 +02:00
pipewire-object-mixin: enable feature info when event info is fully processed
This commit is contained in:
parent
4679a4ed71
commit
c61ab61ece
1 changed files with 3 additions and 2 deletions
|
|
@ -773,8 +773,6 @@ wp_pw_object_mixin_handle_event_info (gpointer instance, gconstpointer update)
|
|||
|
||||
/* update our info struct */
|
||||
d->info = iface->update_info (d->info, update);
|
||||
wp_object_update_features (WP_OBJECT (instance),
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_INFO, 0);
|
||||
|
||||
/* update properties */
|
||||
if (change_mask & iface->CHANGE_MASK_PROPS) {
|
||||
|
|
@ -795,6 +793,9 @@ wp_pw_object_mixin_handle_event_info (gpointer instance, gconstpointer update)
|
|||
iface->process_info (instance, old_info, d->info);
|
||||
g_clear_pointer (&old_info, iface->free_info);
|
||||
}
|
||||
|
||||
wp_object_update_features (WP_OBJECT (instance),
|
||||
WP_PIPEWIRE_OBJECT_FEATURE_INFO, 0);
|
||||
}
|
||||
|
||||
static gint
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue