Commit 4369629b authored by Guido Urdaneta's avatar Guido Urdaneta Committed by Commit Bot

[Video capture] Remove some fallback video formats

We have observed that this list is problematic for some cameras
that don't provide their supported video formats, since it includes
many resolutions that are not natively supported.
This CL reduces the list to include resolutions that are more
likely to be supported.

Bug: 1050087
Change-Id: I283069403ed99b913462969738df8fd281a0748a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073717Reviewed-by: default avatarArmando Miraglia <armax@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744615}
parent ea5f6f22
......@@ -53,9 +53,7 @@ namespace {
struct {
uint16_t width;
uint16_t height;
} const kFallbackVideoResolutions[] = {{1920, 1080}, {1280, 720}, {960, 720},
{640, 480}, {640, 360}, {320, 240},
{320, 180}};
} const kFallbackVideoResolutions[] = {{1920, 1080}, {1280, 720}, {640, 480}};
// Frame rates for sources with no support for capability enumeration.
const uint16_t kFallbackVideoFrameRates[] = {30, 60};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment