mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 02:48:05 +02:00
m-standard-event-source: Emit 'select-collection' event for all added objects
This new event has higher priority than the 'added' event, and it is meant to be used by hooks that collect objects into collections.
This commit is contained in:
parent
155bbbfc38
commit
5a2b15c1a0
1 changed files with 1 additions and 0 deletions
|
|
@ -353,6 +353,7 @@ on_node_state_changed (WpNode *obj, WpNodeState old_state,
|
|||
static void
|
||||
on_object_added (WpObjectManager *om, WpObject *obj, WpStandardEventSource *self)
|
||||
{
|
||||
wp_standard_event_source_push_event (self, "select-collection", obj, NULL);
|
||||
wp_standard_event_source_push_event (self, "added", obj, NULL);
|
||||
|
||||
if (WP_IS_PIPEWIRE_OBJECT (obj)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue