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

Commit e6cab24f authored by Wonsik Kim's avatar Wonsik Kim
Browse files

media: clear pause state at stop()

Bug: 28151768
Change-Id: I37e0b4562398008d6a1176bf3570cb6170997390
parent 122f45db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1793,6 +1793,7 @@ status_t StagefrightRecorder::stop() {
        mWriter.clear();
    }
    mTotalPausedDurationUs = 0;
    mPauseStartTimeUs = 0;

    mGraphicBufferProducer.clear();
    mPersistentSurface.clear();
@@ -1873,7 +1874,6 @@ status_t StagefrightRecorder::reset() {
    mTotalBitRate = 0;

    mOutputFd = -1;
    mPauseStartTimeUs = 0;

    return OK;
}