Probably the best possible outcome for this guy in this situation.
Of all of the boneheaded ways to do something illegal in a car, street racing on a main thoroughfare in broad daylight with a cop sitting right behind you at the light is easily at the top of the list. But that is exactly what the driver in this video did, and it should be no surprise that the cop pulled him over. Luckily for him, the cop was in a generous mood, and only ticketed him for speeding and for having an excessively loud exhaust, leaving him with a warning for the racing.
Here's a tip from us, don't expect every cop to be this understanding, and try not to be such an idiot about street racing, mobile meth labs or whatever else you're into.