DescriptionThis CL fixes some issues that came up Video Capture Device unittest, where it tries to capture format that are not supported by the device and makes size assumptions on it-device being daisy in this case-.
- We check the exact size if returned type is equal to the requested type PIXEL_FORMAT_I420.
- If it is some other format, excluding PIXEL_FORMAT_MJPEG, we make the assumption that it is at least 12 BPP.
BUG=482875
Committed: https://crrev.com/ef4d387401d41721b7a1244417cc507e2e09dc42
Cr-Commit-Position: refs/heads/master@{#333761}
Patch Set 1 : #
Total comments: 3
Patch Set 2 : mcasas@ comments. #Messages
Total messages: 10 (3 generated)
|