Skip to content

Commit

Permalink
fix incorrect orientation for videos with a 270 degrees rotation. close
Browse files Browse the repository at this point in the history
  • Loading branch information
amietn committed Sep 29, 2019
1 parent 00a94d6 commit d726f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcsi/vcsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def compute_display_resolution(self):
except KeyError:
rotation = None

if rotation == 90:
if rotation in [90, 270]:
# swap width and height
self.sample_width, self.sample_height = self.sample_height, self.sample_width

Expand Down

0 comments on commit d726f5d

Please sign in to comment.