Android Video Capture: use tightest fps Range available on allocate()
From the bug descr: > N7 camera list capabilities are like (extracted): > > D/VideoCaptureAndroid(30916): Format 640x480 @ [15000-15000] > D/VideoCaptureAndroid(30916): Format 640x480 @ [24000-24000] > D/VideoCaptureAndroid(30916): Format 640x480 @ [15000-30000] > D/VideoCaptureAndroid(30916): Format 640x480 @ [30000-30000] > > where the second numbers are the frame rate _ranges_. The algorithm for > selecting FPS range in [1] would select the 3rd enumerated range when > fed with a desired frame rate of 30, while the 4th range would be more > appropriate. [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/base/android/java/src/org/chromium/media/VideoCapture.java&sq=package:chromium&type=cs&q=videocapture.java&l=130 TBR=qinmin@chromium.org BUG=418911 Review URL: https://codereview.chromium.org/614003002 Cr-Commit-Position: refs/heads/master@{#297414}
Showing
Please register or sign in to comment