Skip to content

Conversation

crishoj
Copy link

@crishoj crishoj commented Sep 29, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #83
License MIT

What's in this PR?

Change getDimensions() in AutoReps to check stream rotation and return effective dimensions, by flipping height/width when rotation is 90° or 270°.

Which problem does the PR fix?

Portrait videos from e.g. iPhones are mistakenly assumed to have landscape orientation, because displaymatrix: rotation of -90.00 degrees is not taken into account in AutoReps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Portrait videos are stretching
1 participant