Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0287615 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android Git Automerger
Browse files

am 54717320: Camera2: Don\'t touch frame counter on output frames.

* commit '54717320':
  Camera2: Don't touch frame counter on output frames.
parents 6e881a57 fbd60660
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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