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

Commit 8d86a6d3 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

am: 05948baa

Change-Id: I38f29db5e54427f9e0a8873473c56dc14cd458a6
parents 7bff17ad 05948baa
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;