mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 12:28:02 +02:00
object: deactivate only the features that were previously active
This commit is contained in:
parent
5c84f58b9e
commit
c1f1614eb6
1 changed files with 2 additions and 1 deletions
|
|
@ -424,7 +424,8 @@ wp_object_deactivate (WpObject * self, WpObjectFeatures features)
|
|||
g_return_if_fail (WP_IS_OBJECT (self));
|
||||
g_return_if_fail (WP_OBJECT_GET_CLASS (self)->deactivate);
|
||||
|
||||
WP_OBJECT_GET_CLASS (self)->deactivate (self, features);
|
||||
WpObjectPrivate *priv = wp_object_get_instance_private (self);
|
||||
WP_OBJECT_GET_CLASS (self)->deactivate (self, features & priv->ft_active);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue