audioconvert: also clear buffer when new EnumFormat

Fixes #2832
This commit is contained in:
Wim Taymans 2022-11-17 19:41:12 +01:00
parent 90f5b4a4bf
commit bc66060b7d

View file

@ -1098,6 +1098,7 @@ static void follower_port_info(void *data,
}
if (idx == IDX_EnumFormat) {
this->have_format = false;
this->n_buffers = 0;
spa_log_debug(this->log, "new formats");
}