Skip to content

Commit

Permalink
rotation check for 90 and 270
Browse files Browse the repository at this point in the history
  • Loading branch information
a914-gowtham authored May 4, 2021
1 parent 25076c7 commit 5db0510
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -713,4 +713,4 @@ void stopRepeatingTask() {
seekHandler.removeCallbacks(updateSeekbar);
}

}
}

0 comments on commit 5db0510

Please sign in to comment.