sailfishos / droidmedia

15 stars 57 forks source link

Camera2: Auto exposure correction has no effect on final image #118

Open simonschmeisser opened 9 months ago

simonschmeisser commented 9 months ago

But works in viewfinder mode

b100dian commented 7 months ago

I am noticing a nuance here: the exposure compensation does work. However, the next shot, even if it shows the same +/- compensation in the UI, is ignored in the viewfinder and in the picture.

But this is not the only setting ignored at startup, I found that even other settings such as edge mode and noise reduction quirks as I tried to implement them in this draft PR are not taken into account at startup.

But they are taken into accoun if you change.. exposure compensation for the current shot.

So, in the end, this looks like a race between initializing the camera/viewfinder and applying these settings (which includes exposure compensation but also more)

b100dian commented 7 months ago

I made a hack around this, but not the true solution - I find it hard to follow gst-droid in this regard: https://github.com/sailfishos/droidmedia/pull/122