diff --git a/library/src/main/java/com/gowtham/library/ui/ActVideoTrimmer.java b/library/src/main/java/com/gowtham/library/ui/ActVideoTrimmer.java index 0ca6edc..5227cf0 100644 --- a/library/src/main/java/com/gowtham/library/ui/ActVideoTrimmer.java +++ b/library/src/main/java/com/gowtham/library/ui/ActVideoTrimmer.java @@ -536,7 +536,7 @@ private String[] getCompressionCmd() { int w = TrimmerUtils.clearNull(width).isEmpty() ? 0 : Integer.parseInt(width); int h = Integer.parseInt(height); int rotation=TrimmerUtils.getVideoRotation(this,uri); - if(rotation==90 || rotation==360){ + if(rotation==90 || rotation==270){ int temp=w; w=h; h=temp; @@ -713,4 +713,4 @@ void stopRepeatingTask() { seekHandler.removeCallbacks(updateSeekbar); } -} \ No newline at end of file +}