If the delay was deemed to be within the airline's control you could be owed compensation. See full flight delays help. If you're delayed more than five hours, you can get a refund regardless of cause.