Descriptionchop the width/height to even number when incoming frame has odd number dimension.
Some video capture device has odd number for width/height. Need to chop them to even number.
To test handling of dimension, manually changed FakeVideoCaptureDevice to output odd number dimension in ARGB color space. The client of VideoCaptureController would receives odd number dimension and corresponding frames without crash.
BUG=139004
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151753
Patch Set 1 #
Total comments: 4
Patch Set 2 : code review #Patch Set 3 : #
Messages
Total messages: 8 (0 generated)
|