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

Commit 8b30313a authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

WebmFrameThread: Don't set mDone in WebmFrameSinkThread::stop

WebmFrameSinkThread::stop shouldn't set mDone to true, it will
be set once EOS frames are handled in WebmFrameSinkThread::run

Bug: 177376580
Bug: 267933226
Test: atest CtsMediaV2TestCases:EncoderProfileLevelTest
Test: atest CtsMediaV2TestCases:MuxerTest
Test: atest CtsMediaV2TestCases:MuxerUnitTest

Change-Id: I0e3bd689b4284104ed8d9e7a84f78598ca413615
parent 607ba428
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -197,7 +197,6 @@ status_t WebmFrameSinkThread::start() {
}

status_t WebmFrameSinkThread::stop() {
    mDone = true;
    mVideoFrames.push(WebmFrame::EOS);
    mAudioFrames.push(WebmFrame::EOS);
    return WebmFrameThread::stop();