mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioadapter: renegotiate when EnumFormat changes
Start renegotiation when EnumFormat changes.
This commit is contained in:
parent
c4c6a3fd1b
commit
b292e52740
1 changed files with 1 additions and 0 deletions
|
|
@ -1169,6 +1169,7 @@ static void follower_port_info(void *data,
|
||||||
if (idx == IDX_EnumFormat) {
|
if (idx == IDX_EnumFormat) {
|
||||||
spa_log_debug(this->log, "new formats");
|
spa_log_debug(this->log, "new formats");
|
||||||
configure_format(this, 0, NULL);
|
configure_format(this, 0, NULL);
|
||||||
|
negotiate_format(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->params[idx].user++;
|
this->params[idx].user++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue