The periodic variations of a white-light flare observed with ULTRACAM