diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-02 01:50:59 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-06 20:05:40 +0000 |
commit | deeef54487a34034dc0cfaab20b20d557224c07c (patch) | |
tree | cc0aa13d8349df8a57e82374cfd2df9095cf2cbe /camera | |
parent | 230c5bde2779c618b26edc73443280b2d9371c70 (diff) | |
download | frameworks_av-deeef54487a34034dc0cfaab20b20d557224c07c.zip frameworks_av-deeef54487a34034dc0cfaab20b20d557224c07c.tar.gz frameworks_av-deeef54487a34034dc0cfaab20b20d557224c07c.tar.bz2 |
separte producer and consumer interfaces
Bug: 9265647
Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c
Diffstat (limited to 'camera')
-rw-r--r-- | camera/ProCamera.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camera/ProCamera.cpp b/camera/ProCamera.cpp index 1040415..f6c9ca1 100644 --- a/camera/ProCamera.cpp +++ b/camera/ProCamera.cpp @@ -251,8 +251,7 @@ status_t ProCamera::createStreamCpu(int width, int height, int format, sp<CpuConsumer> cc = new CpuConsumer(bq, heapCount/*, synchronousMode*/); cc->setName(String8("ProCamera::mCpuConsumer")); - sp<Surface> stc = new Surface( - cc->getProducerInterface()); + sp<Surface> stc = new Surface(bq); status_t s = createStream(width, height, format, stc->getIGraphicBufferProducer(), |