remote: there is no need to init the io area

This commit is contained in:
Wim Taymans 2018-03-14 20:19:51 +01:00
parent dc091c7c00
commit 60150d67f1

View file

@ -1247,10 +1247,6 @@ client_node_port_set_io(void *object,
if (id == t->io.Buffers) { if (id == t->io.Buffers) {
mix->mix.port.io = ptr; mix->mix.port.io = ptr;
if (ptr) {
mix->mix.port.io->buffer_id = SPA_ID_INVALID;
mix->mix.port.io->status = SPA_STATUS_NEED_BUFFER;
}
} else { } else {
spa_node_port_set_io(mix->port->node->node, spa_node_port_set_io(mix->port->node->node,
direction, port_id, direction, port_id,