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

Commit 6fed0e5f authored by Wonsik Kim's avatar Wonsik Kim
Browse files

CCodecBufferChannel: do not clear tracked frames at flush

Bug: 275148535
Bug: 274584739
Test: atest android.media.decoder.cts.AdaptivePlaybackTest
Test: atest android.media.decoder.cts.DecoderRenderTest
Change-Id: I7171f2265b534c877dc5104bbe8550b25e51c862
parent 9673b3f1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1801,8 +1801,6 @@ void CCodecBufferChannel::flush(const std::list<std::unique_ptr<C2Work>> &flushe
            output->buffers->flushStash();
        }
    }
    // reset the frames that are being tracked for onFrameRendered callbacks
    mTrackedFrames.clear();
}

void CCodecBufferChannel::onWorkDone(