DescriptionDrop back to back frames in VideoFrameResolutionAdapter::MaybeDropFrame.
We have observed on some Mac that video frames are delivered back to back from the build in video capture device. This can potentially happen on all platforms. If that happen, the simple filter used for frame rate calculation get scewed. This cl fix that by dropping all frames received within 5ms of the previous frame.
BUG=394315
Committed: https://crrev.com/2924f310947b5a091390a6c06b37f7796bee47e7
Cr-Commit-Position: refs/heads/master@{#292361}
Patch Set 1 : #Patch Set 2 : Renamed kMinTimeInMsBetweenFrames #
Total comments: 2
Patch Set 3 : Addressed nits #Messages
Total messages: 12 (0 generated)
|