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

Commit 5cc32c5e authored by Wonsik Kim's avatar Wonsik Kim Committed by Android (Google) Code Review
Browse files

Merge "media: clear pause state at stop()" into nyc-dev

parents 3dc91949 e6cab24f
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;
}