diff options
-rw-r--r-- | tests/camera2/CameraStreamFixture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/camera2/CameraStreamFixture.h b/tests/camera2/CameraStreamFixture.h index 3d614db..195e764 100644 --- a/tests/camera2/CameraStreamFixture.h +++ b/tests/camera2/CameraStreamFixture.h @@ -162,7 +162,8 @@ protected: sp<CameraDeviceBase> device = mDevice; CameraStreamParams p = mParam; - mCpuConsumer = new CpuConsumer(p.mHeapCount); + sp<BufferQueue> bq = new BufferQueue(); + mCpuConsumer = new CpuConsumer(bq, p.mHeapCount); mCpuConsumer->setName(String8("CameraStreamTest::mCpuConsumer")); mNativeWindow = new Surface( |