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

Commit 910a3170 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

CCodec: don't drop work with format change

Bug: 151995371
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: I335519cddf762adb39e7518f15b1cfecf1d43550
parent b79d3b8d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1704,8 +1704,8 @@ bool CCodecBufferChannel::handleWork(
        }
    }

    if (!buffer && !flags) {
        ALOGV("[%s] onWorkDone: Not reporting output buffer (%lld)",
    if (!buffer && !flags && outputFormat == nullptr) {
        ALOGV("[%s] onWorkDone: nothing to report from the work (%lld)",
              mName, work->input.ordinal.frameIndex.peekull());
        return true;
    }