I've had this in various recent Mac models: MacBook Pro, iMac and Mac Mini. There's no fix available from Apple. Your choices are put up with it, return for refund, or return for replacement.
VLC Player is a particular problem on my MacBook Pro. Video is unwatchable much of the time.