diff options
author | Dan Stoza <stoza@google.com> | 2014-11-04 11:32:52 -0800 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2014-11-04 11:32:52 -0800 |
commit | 04f101c35eaa90b1f95939afac30674ec1611e6f (patch) | |
tree | 638649883fdc1e7329b9334b5a1a7461b7421942 /include/camera | |
parent | 151b3f41ffcdf187580542ba0c0d3b84df16beed (diff) | |
download | frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.zip frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.gz frameworks_av-04f101c35eaa90b1f95939afac30674ec1611e6f.tar.bz2 |
Add a BufferItem parameter to onFrameAvailable
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
Diffstat (limited to 'include/camera')
-rw-r--r-- | include/camera/ProCamera.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/camera/ProCamera.h b/include/camera/ProCamera.h index 83a3028..e9b687a 100644 --- a/include/camera/ProCamera.h +++ b/include/camera/ProCamera.h @@ -265,7 +265,7 @@ private: } protected: - virtual void onFrameAvailable() { + virtual void onFrameAvailable(const BufferItem& /* item */) { sp<ProCamera> c = mCamera.promote(); if (c.get() != NULL) { c->onFrameAvailable(mStreamId); |