commit | 8cf00b64f942376f1bf5e3f5a39c2086c4d51246 | [log] [tgz] |
---|---|---|
author | Michael Goffioul <michael.goffioul@gmail.com> | Fri Jun 08 13:02:21 2018 -0700 |
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | Mon Jun 11 07:36:17 2018 +0800 |
tree | 514b01301c57a6ef8099e21002e82096e8183a0e | |
parent | 44e6c6679aef553d2576cabe596b2beaf46c6481 [diff] |
CameraHardware: fix FPS problem The values reported by Camera.Parameters.getSupportedPreviewFpsRange() are in actual FPS, while the API expects value to be multiplied by 1000. This creates a problem in an app that is using Chrome/53 webview, whereby the webcam is limited to 1fps. The patch fixes it.