Limit he amount of recorded frames.