mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
module-profiler: ignore peer targets
Only log the targets of the node, ignoring the peers of the driver or else we will log some nodes twice. Fixes #3278
This commit is contained in:
parent
f0e8b95d76
commit
4e070c90aa
3 changed files with 5 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ static void context_do_profile(void *data, struct pw_impl_node *node)
|
|||
struct pw_node_activation *na;
|
||||
struct spa_fraction latency;
|
||||
|
||||
if (t->id == id)
|
||||
if (t->id == id || t->flags & PW_NODE_TARGET_PEER)
|
||||
continue;
|
||||
|
||||
if (n != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue