X-ray characterization of indium during melting