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

Commit 8f922e18 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "CCodec: don't update pipeline watcher if using input surface"

parents c24f9ea0 524b0580
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2593,9 +2593,9 @@ bool CCodecBufferChannel::handleWork(
        return false;
    }

    if (work->worklets.size() != 1u
    if (mInputSurface == nullptr && (work->worklets.size() != 1u
            || !work->worklets.front()
            || !(work->worklets.front()->output.flags & C2FrameData::FLAG_INCOMPLETE)) {
            || !(work->worklets.front()->output.flags & C2FrameData::FLAG_INCOMPLETE))) {
        mPipelineWatcher.lock()->onWorkDone(work->input.ordinal.frameIndex.peeku());
    }