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

Commit 35bf5734 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

Revert "CCodec: don't drop work with format change"

This reverts commit 910a3170.

Reason for revert: regression
Bug: 156128841
Test: manual
Change-Id: Id0cecb7502b7be86d2b565933e5900148a0ac131
parent 910a3170
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1704,8 +1704,8 @@ bool CCodecBufferChannel::handleWork(
        }
        }
    }
    }


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