port: don't send reuse_buffer on node again

When we get a reuse_buffer on the input mixer we should find the
linked mixer and send the reuse_buffer to that one, not the node
itself.
This commit is contained in:
Wim Taymans 2020-06-08 14:19:13 +02:00
parent 64fc8dda20
commit d566c8858c
2 changed files with 4 additions and 2 deletions

View file

@ -443,7 +443,8 @@ do_update_port(struct node *this,
port = GET_PORT(this, direction, port_id);
if (!port->valid) {
spa_log_debug(this->log, "node %p: adding port %d", this, port_id);
spa_log_debug(this->log, "node %p: adding port %d, direction %d",
this, port_id, direction);
port->id = port_id;
port->direction = direction;
port->have_format = false;