Skip to content

Handle streams that are rotated 90° or 270°#137

Open
crishoj wants to merge 1 commit into
quasarstream:masterfrom
monotreedk:handle-rotated-streams
Open

Handle streams that are rotated 90° or 270°#137
crishoj wants to merge 1 commit into
quasarstream:masterfrom
monotreedk:handle-rotated-streams

Conversation

@crishoj

@crishoj crishoj commented Sep 29, 2023

Copy link
Copy Markdown
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