summaryrefslogtreecommitdiffstats
path: root/tests/camera2/CameraMultiStreamTests.cpp
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2015-03-24 10:48:08 -0700
committerYin-Chia Yeh <yinchiayeh@google.com>2015-03-24 12:07:32 -0700
commitc2537654815c015d82719dd46023997b647a5e9c (patch)
treed02afa3c97cd5bb433b11556cddbf241364632df /tests/camera2/CameraMultiStreamTests.cpp
parent889dd060327c19dca5e07ba95eda8271cad3490a (diff)
downloadhardware_libhardware-c2537654815c015d82719dd46023997b647a5e9c.zip
hardware_libhardware-c2537654815c015d82719dd46023997b647a5e9c.tar.gz
hardware_libhardware-c2537654815c015d82719dd46023997b647a5e9c.tar.bz2
Camera: update test per interface change
CameraModule does not allow for accessing raw module pointer anymore. Also cleanup some warnings. Bug: 19897963 Change-Id: I111cc093f09f5fb3c4b13693d5d0687e1f441058
Diffstat (limited to 'tests/camera2/CameraMultiStreamTests.cpp')
-rw-r--r--tests/camera2/CameraMultiStreamTests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/camera2/CameraMultiStreamTests.cpp b/tests/camera2/CameraMultiStreamTests.cpp
index bfadfea..0f8d578 100644
--- a/tests/camera2/CameraMultiStreamTests.cpp
+++ b/tests/camera2/CameraMultiStreamTests.cpp
@@ -528,7 +528,8 @@ TEST_F(CameraMultiStreamTest, DISABLED_MultiBurst) {
// Find the right sizes for preview, metering, and capture streams
int64_t minFrameDuration = DEFAULT_FRAME_DURATION;
- Size processedMinSize, processedMaxSize, jpegMaxSize;
+ Size processedMinSize = {0, 0}, processedMaxSize = {0, 0};
+ Size jpegMaxSize = {0, 0};
int32_t minIdx, maxIdx;
GetMinSize(implDefData, implDefCount, &processedMinSize, &minIdx);