mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
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:
parent
1ce94628ee
commit
34077187db
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue