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

Commit 05948baa authored by Krzysztof Semko's avatar Krzysztof Semko Committed by android-build-merger
Browse files

Merge "Do not update time offset for time lapse recording after pause"

am: a864ea5f

Change-Id: I28faf24b08e5944e231c24e8dd370c298164f8fb
parents 8a7f5725 a864ea5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1996,7 +1996,7 @@ status_t StagefrightRecorder::resume() {
        mTotalPausedDurationUs += resumeStartTimeUs - mPauseStartTimeUs - 30000;
    }
    double timeOffset = -mTotalPausedDurationUs;
    if (mCaptureFpsEnable) {
    if (mCaptureFpsEnable && (mVideoSource == VIDEO_SOURCE_CAMERA)) {
        timeOffset *= mCaptureFps / mFrameRate;
    }
    sp<MetaData> meta = new MetaData;