Merge "Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp" into honeycomb
This commit is contained in:
@@ -347,7 +347,8 @@ void CameraSourceTimeLapse::stopCameraRecording() {
|
||||
}
|
||||
|
||||
void CameraSourceTimeLapse::releaseRecordingFrame(const sp<IMemory>& frame) {
|
||||
if (!mUseStillCameraForTimeLapse) {
|
||||
if (!mUseStillCameraForTimeLapse &&
|
||||
mCamera != NULL) {
|
||||
mCamera->releaseRecordingFrame(frame);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user