impl-port: renegotiate format after a port was unused

Bring the port to the CONFIGURE state after all the mixer ports are
removed.

Fixes #3266
This commit is contained in:
Wim Taymans 2023-06-22 15:37:09 +02:00
parent 1ce94628ee
commit 34077187db

View file

@ -344,6 +344,8 @@ int pw_impl_port_release_mix(struct pw_impl_port *port, struct pw_impl_port_mix
port->direction, port->port_id, port->direction, port->port_id,
SPA_IO_Buffers, SPA_IO_Buffers,
NULL, sizeof(port->rt.io)); NULL, sizeof(port->rt.io));
pw_impl_port_update_state(port, PW_IMPL_PORT_STATE_CONFIGURE, 0, NULL);
} }
return res; return res;
} }