Commit a2d38f0c authored by mcasas@chromium.org's avatar mcasas@chromium.org

Android VideoCapture: Use max frame rate instead of min for CaptureFormat enumeration.

BUG=390884

Review URL: https://codereview.chromium.org/379813003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282115 0039d316-1c4b-4281-b951-d872f2087c98
parent ad4a38a9
......@@ -133,7 +133,7 @@ public class VideoCaptureAndroid extends VideoCapture {
for (Camera.Size size : supportedSizes) {
formatList.add(new CaptureFormat(size.width,
size.height,
(fpsRange[0] + 999) / 1000,
(fpsRange[1] + 999) / 1000,
pixelFormat));
}
}
......
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