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

Commit fbd60660 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

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

Bug: 7357069
Change-Id: I9cd0cdcc23959bfecced5f47bb9e8c59c997dade
parent f1a6e0d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -230,7 +230,7 @@ class Camera2Device : public virtual RefBase {
        // Real interfaces. On enqueue, queue takes ownership of buffer pointer
        // Real interfaces. On enqueue, queue takes ownership of buffer pointer
        // On dequeue, user takes ownership of buffer pointer.
        // On dequeue, user takes ownership of buffer pointer.
        status_t enqueue(camera_metadata_t *buf);
        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();
        int      getBufferCount();
        status_t waitForBuffer(nsecs_t timeout);
        status_t waitForBuffer(nsecs_t timeout);
        // Wait until a buffer with the given ID is dequeued. Will return
        // Wait until a buffer with the given ID is dequeued. Will return