mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-06 02:28:02 +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
2941151d1a
commit
b8a6e9fa9a
1 changed files with 1 additions and 0 deletions
|
|
@ -350,6 +350,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