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

Commit 591b8782 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

BufferQueueConsumer: Improve maxBufferCount debug log



Bug: N/A

Test: build

Flag: EXEMPT; log bug fix

Change-Id: I1a215fe72ec8df175c55ecfa3ddf52ed932881a1
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 97d6ef2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -789,7 +789,8 @@ status_t BufferQueueConsumer::setMaxAcquiredBufferCount(
                BufferQueueCore::MAX_MAX_ACQUIRED_BUFFERS;
#endif
        if (maxAcquiredBuffers < 1 || maxAcquiredBuffers > maxMaxAcquiredBuffers) {
            BQ_LOGE("setMaxAcquiredBufferCount: invalid count %d", maxAcquiredBuffers);
            BQ_LOGE("setMaxAcquiredBufferCount: invalid count %d allowed maxCount is %d",
                    maxAcquiredBuffers, maxMaxAcquiredBuffers);
            return BAD_VALUE;
        }