audioconvert: when we reconfigure, emit param changed event

When we reconfigure the node, the Props param changes with the
new number of channels.
This commit is contained in:
Wim Taymans 2021-02-16 12:22:50 +01:00
parent b17fe4aba4
commit ef98361630

View file

@ -704,7 +704,8 @@ static int reconfigure_mode(struct impl *this, enum spa_param_port_config_mode m
if (res < 0)
return res;
this->info.change_mask |= SPA_NODE_CHANGE_MASK_FLAGS;
this->info.change_mask |= SPA_NODE_CHANGE_MASK_FLAGS | SPA_NODE_CHANGE_MASK_PARAMS;
this->params[3].flags ^= SPA_PARAM_INFO_SERIAL;
this->info.flags &= ~SPA_NODE_FLAG_NEED_CONFIGURE;
}