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

Commit 49323ff4 authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

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

am: 5cc32c5e

* commit '5cc32c5e':
  media: clear pause state at stop()

Change-Id: Ibf1ecdf528d434c93f96fd40b5eec0869a1ce5d2
parents 3262f284 5cc32c5e
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;
}