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

Commit 6824aac9 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7632648 from 8e9a48b7 to sc-v2-release

Change-Id: I1c8d98c3d4c0ad5fefcbb3926d30732461f0db6f
parents 37f0ca65 8e9a48b7
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -1881,13 +1881,7 @@ bool CCodecBufferChannel::handleWork(
        }
    }

    bool drop = false;
    if (worklet->output.flags & C2FrameData::FLAG_DROP_FRAME) {
        ALOGV("[%s] onWorkDone: drop buffer but keep metadata", mName);
        drop = true;
    }

    if (notifyClient && !buffer && !flags && !(drop && outputFormat)) {
    if (notifyClient && !buffer && !flags) {
        ALOGV("[%s] onWorkDone: Not reporting output buffer (%lld)",
              mName, work->input.ordinal.frameIndex.peekull());
        notifyClient = false;
@@ -1914,7 +1908,7 @@ bool CCodecBufferChannel::handleWork(
            return false;
        }
        output->buffers->pushToStash(
                drop ? nullptr : buffer,
                buffer,
                notifyClient,
                timestamp.peek(),
                flags,