audioadapter: renegotiate when EnumFormat changes

Start renegotiation when EnumFormat changes.
This commit is contained in:
Wim Taymans 2023-06-21 16:28:47 +02:00
parent c4c6a3fd1b
commit b292e52740

View file

@ -1169,6 +1169,7 @@ static void follower_port_info(void *data,
if (idx == IDX_EnumFormat) {
spa_log_debug(this->log, "new formats");
configure_format(this, 0, NULL);
negotiate_format(this);
}
this->params[idx].user++;