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

Commit 43cc944e authored by Chong Zhang's avatar Chong Zhang
Browse files

fix NuPlayerDecoder discontinuity handling with async mode

bug: 20234224

Change-Id: I317b52b089f1e1432255100ef5f36322a231a399
parent 7233234a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -463,10 +463,6 @@ bool NuPlayer::Decoder::handleAnOutputBuffer(
        size_t size,
        int64_t timeUs,
        int32_t flags) {
    if (mFormatChangePending) {
        return false;
    }

//    CHECK_LT(bufferIx, mOutputBuffers.size());
    sp<ABuffer> buffer;
    mCodec->getOutputBuffer(index, &buffer);