1. A method comprising: identifying an abrupt transition in average light intensity between two frames; and determining whether the abrupt transition was caused by a shot boundary between the two frames or by a flashlight event.