audioconvert: remove props from info

After emiting the node info, remove the properties from the info again
so that we don't accidentally emit them again later, when the
info and properties are out of scope.
This commit is contained in:
Wim Taymans 2022-05-11 14:51:14 +02:00
parent daf53b94ed
commit c2dbe1d64d

View file

@ -964,6 +964,10 @@ static void follower_info(void *data, const struct spa_node_info *info)
}
}
emit_node_info(this, false);
spa_zero(this->info.props);
this->info.change_mask &= ~SPA_NODE_CHANGE_MASK_PROPS;
}
static int recalc_latency(struct impl *this, enum spa_direction direction, uint32_t port_id)