Android 14 beta lock orientation doesn't work as expected when the device goes into landscape mode. (original) (raw)

Environment

Describe the bug
Android 14 beta lock orientation doesn't work as expected when the device goes into landscape mode.
eg: if you launch: scrcpy --lock-video-orientation=0 then go into landscape in an app, you get this:
image

Looks like it no longer rotates the display output to fit the surface of the codec, but instead it keeps it in its orientation and scales it. Not clear if its a "bug" which will be fixed in the release, but seems possibly unlikely since its already in beta.