Also enforce a minimum inter-frame interval of 1 ms, fix a bug in the clipping logic, and improve comments. BUG=webrtc:5740 Review-Url: https://codereview.webrtc.org/2325563002 Cr-Commit-Position: refs/heads/master@{#14206}
Use in AndroidVideoCapturer. BUG=webrtc:5740 Review-Url: https://codereview.webrtc.org/2017443003 Cr-Commit-Position: refs/heads/master@{#13254}