summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/VideoModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index abbae5265..038deb197 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1509,7 +1509,7 @@ public class VideoModule extends CameraModule
// if no file save is needed, we can show the post capture UI now
showCaptureResult();
}
- if (mVideoFileDescriptor != null) {
+ if ((mVideoFileDescriptor != null) && (mCurrentVideoValues != null)) {
saveVideo();
}
}