diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2012-10-16 10:28:07 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2012-10-16 10:28:07 -0700 |
commit | 547173205b3fd909dd72b597f6372840c38460e4 (patch) | |
tree | 5910825164e7ae55b1fb3c5206acd18abd88f9e7 /services | |
parent | d6cc4a62f3d94cad4dd36bd0a844ba8764177d26 (diff) | |
download | frameworks_av-547173205b3fd909dd72b597f6372840c38460e4.zip frameworks_av-547173205b3fd909dd72b597f6372840c38460e4.tar.gz frameworks_av-547173205b3fd909dd72b597f6372840c38460e4.tar.bz2 |
Camera2: Don't touch frame counter on output frames.
Bug: 7357069
Change-Id: I9cd0cdcc23959bfecced5f47bb9e8c59c997dade
Diffstat (limited to 'services')
-rw-r--r-- | services/camera/libcameraservice/Camera2Device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/Camera2Device.h b/services/camera/libcameraservice/Camera2Device.h index 29830bd..41df2e4 100644 --- a/services/camera/libcameraservice/Camera2Device.h +++ b/services/camera/libcameraservice/Camera2Device.h @@ -230,7 +230,7 @@ class Camera2Device : public virtual RefBase { // Real interfaces. On enqueue, queue takes ownership of buffer pointer // On dequeue, user takes ownership of buffer pointer. status_t enqueue(camera_metadata_t *buf); - status_t dequeue(camera_metadata_t **buf, bool incrementCount = true); + status_t dequeue(camera_metadata_t **buf, bool incrementCount = false); int getBufferCount(); status_t waitForBuffer(nsecs_t timeout); // Wait until a buffer with the given ID is dequeued. Will return |