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

Commit b0fb6bf7 authored by James Dong's avatar James Dong
Browse files

Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp

bug - 3334999

Change-Id: I1c83080713696221048da9b1a9f8c2ee48849ade
parent 0ecfbd1c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -347,7 +347,8 @@ void CameraSourceTimeLapse::stopCameraRecording() {
}

void CameraSourceTimeLapse::releaseRecordingFrame(const sp<IMemory>& frame) {
    if (!mUseStillCameraForTimeLapse) {
    if (!mUseStillCameraForTimeLapse &&
        mCamera != NULL) {
        mCamera->releaseRecordingFrame(frame);
    }
}