diff options
| author | xianming wang <mingwax@codeaurora.org> | 2020-04-15 17:18:03 +0800 |
|---|---|---|
| committer | xianming wang <mingwax@codeaurora.org> | 2020-04-15 17:20:22 +0800 |
| commit | 781f36604a9747bb0adef0b45cd1430306aedcd7 (patch) | |
| tree | 5cdf6599bda7362d6e1bd2c8003365670cefcd2a /src/com/android/camera/multi/MultiVideoModule.java | |
| parent | 7792c04b67fcc50e6eff44c278c38b80595448e5 (diff) | |
SnapdragonCamera: Change multi cameras VideoSnapShotSize is videoSize
Change multi cameras VideoSnapshotSize is VideoSize.
Change-Id: I5056545dc8359c5e7e20780f6c3736b50e070cdc
Diffstat (limited to 'src/com/android/camera/multi/MultiVideoModule.java')
| -rwxr-xr-x | src/com/android/camera/multi/MultiVideoModule.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/multi/MultiVideoModule.java b/src/com/android/camera/multi/MultiVideoModule.java index 139af2035..741f9cc39 100755 --- a/src/com/android/camera/multi/MultiVideoModule.java +++ b/src/com/android/camera/multi/MultiVideoModule.java @@ -560,7 +560,8 @@ public class MultiVideoModule implements MultiCamera, LocationManager.Listener, if (mImageReaders[id] != null) {
mImageReaders[id].close();
}
- mImageReaders[id] = ImageReader.newInstance(1920, 1080,
+ mImageReaders[id] = ImageReader.newInstance(mVideoSize[id].getWidth(),
+ mVideoSize[id].getHeight(),
ImageFormat.JPEG, /*maxImages*/2);
mImageReaders[id].setOnImageAvailableListener(
mOnImageAvailableListener, mMultiCameraModule.getMyCameraHandler());
|
