From 34077187db939190ae7dd50e0848e2935533cfd1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 22 Jun 2023 15:37:09 +0200 Subject: [PATCH] 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 --- src/pipewire/impl-port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipewire/impl-port.c b/src/pipewire/impl-port.c index 49f979984..1d1caaeda 100644 --- a/src/pipewire/impl-port.c +++ b/src/pipewire/impl-port.c @@ -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, SPA_IO_Buffers, NULL, sizeof(port->rt.io)); + + pw_impl_port_update_state(port, PW_IMPL_PORT_STATE_CONFIGURE, 0, NULL); } return res; }