summaryrefslogtreecommitdiff
path: root/src/com/android/videoeditor/util
diff options
context:
space:
mode:
authorShih-chia Cheng <shihchia@google.com>2011-06-21 16:06:59 +0800
committerShih-chia Cheng <shihchia@google.com>2011-06-21 16:16:13 +0800
commit3fad22764165a85c6c29e188f924c8372fffe991 (patch)
tree516fa97518d3ced2e2617f880d2d7b4bb6e7b69f /src/com/android/videoeditor/util
parent88b6620b5e998c3ab724124bb1b9b81480af2efb (diff)
downloadVideoEditor-3fad22764165a85c6c29e188f924c8372fffe991.tar.gz
Add missing break in rotating images.
Change-Id: I8627a18a314c90c092a9c0a0887587c8f2287f3c
Diffstat (limited to 'src/com/android/videoeditor/util')
-rwxr-xr-xsrc/com/android/videoeditor/util/ImageUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/videoeditor/util/ImageUtils.java b/src/com/android/videoeditor/util/ImageUtils.java
index b606ebf..e4ffab4 100755
--- a/src/com/android/videoeditor/util/ImageUtils.java
+++ b/src/com/android/videoeditor/util/ImageUtils.java
@@ -155,14 +155,17 @@ public class ImageUtils {
switch (orientation) {
case ExifInterface.ORIENTATION_ROTATE_90: {
degrees = 90;
+ break;
}
case ExifInterface.ORIENTATION_ROTATE_180: {
degrees = 180;
+ break;
}
case ExifInterface.ORIENTATION_ROTATE_270: {
degrees = 270;
+ break;
}
}
rotateAndScaleImage(inputFilename, degrees, outputFile);