media icon indicating copy to clipboard operation
media copied to clipboard

BUG: DebugViewProvider/AspectRatioFrameLayout is rotated 90 degrees.

Open steelbytes opened this issue 4 months ago • 10 comments

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).

steelbytes avatar Feb 16 '24 23:02 steelbytes