mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-node: dont' send peer_added with our own node
.. because it's just ignored in the client anyway.
This commit is contained in:
parent
47f0f1f9a3
commit
aa2e2f192b
1 changed files with 3 additions and 0 deletions
|
|
@ -1521,6 +1521,9 @@ static void node_peer_added(void *data, struct pw_node *peer)
|
||||||
struct node *this = &impl->node;
|
struct node *this = &impl->node;
|
||||||
struct pw_memblock *m;
|
struct pw_memblock *m;
|
||||||
|
|
||||||
|
if (peer == impl->this.node)
|
||||||
|
return;
|
||||||
|
|
||||||
m = pw_mempool_import_block(this->client->pool, peer->activation);
|
m = pw_mempool_import_block(this->client->pool, peer->activation);
|
||||||
if (m == NULL) {
|
if (m == NULL) {
|
||||||
pw_log_debug(NAME " %p: can't ensure mem: %m", this);
|
pw_log_debug(NAME " %p: can't ensure mem: %m", this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue