KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
294 stars 45 forks source link

FIX viewfinder image messed up in portrait view #rotation #rotate #164

Closed allanlaal closed 2 years ago

allanlaal commented 2 years ago

Describe the bug

Screenshot_20210802-082351

it only shows a distorted part of the viewfinder. landscape works great reverse landscape also messed up [important for some filming use cases with weird tripod situations]

To Reproduce Steps to reproduce the behavior:

  1. use Android 10
  2. disable system autorotation (since it seems FreeDCam handles rotation by itself)
  3. disable all rotation apps
  4. launch FreeDCam
  5. rotate phone physically 4x90° to see the difference

Expected behavior

rotation works in all 4 positions like anyone would expect

Smartphone: Device:

Blackview BV6300Pro

Android w kernel 4.14:

Screenshot_20210802-083959

KillerInk commented 2 years ago

not sure how you are able to rotatet it. but that shouldnt work. freedcam is forced to landscape

https://github.com/KillerInk/FreeDcam/blob/67ce3a5ac9be1ec93aa5d6c82979d4026abf86ee/app/src/main/AndroidManifest.xml#L63

but there is a setting called orientation correction. with that you can flip the preview to your needs

allanlaal commented 2 years ago

my bad, it seems the screen rotation force hack was in effect after stopping the daemon

report invalid, closing