这是indexloc提供的服务,不要输入任何密码
Skip to content

BUG: DebugViewProvider/AspectRatioFrameLayout is rotated 90 degrees. #1098

@steelbytes

Description

@steelbytes

My input file is 4K landscape. For my output I want to crop left and right and scale to 1080x1920 portait for an Instagram Reel. So I add Presentation.createForWidthAndHeight(1080, 1920, Presentation.LAYOUT_SCALE_TO_FIT_WITH_CROP). Output file looks correct.

BUT DebugViewProvider/AspectRatioFrameLayout is rotated 90 degrees. I can't expect my users to rotate their phone while previewing.

media3 library 1.2.1.
pixel 7 pro with current android at time of writing.

(There's no way to demonstrate this via your demo app so I gave up trying to use the bug report form which is limited to the demo app hence wrote this as a feature request).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions