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
297 stars 44 forks source link

Interval mode with camera1 freezes app completely #97

Closed Tooniis closed 3 years ago

Tooniis commented 5 years ago

Phone Model: Xiaomi Mi Note 2, MIUI Global 10.2.1.0(OADMIXM) Stable

FreeDcam Version: 4.2

Problem Description: With camera1 API, when shooting in interval mode, touching the shutter button takes 1 image then the application freezes completely until force stopped. It works with camera2 API but it still causes a lot of stutter and it almost freezes yet it does not.

KillerInk commented 5 years ago

yes there is something wrong

mvglasow commented 4 years ago

Same here on a OnePlus One running LineageOS 15.1 (Android 8.1): with camera1 (which the app selects by default) the app freezes in interval mode after taking one image. It does respond sporadically, though. Haven’t tried camera2 yet.

On the other hand, the app stays responsive on my old Nexus S running KitKat (CyanogenMod 11), but Interval still takes only one picture.

mvglasow commented 4 years ago

Tried camera2 on the OnePlus One. Interval works but the app is not very responsive while image capturing is in progress. Looks like there is too much work being done on the UI thread which really should be offloaded to a background thread.

KillerInk commented 4 years ago

its fixed in code already. but i dont find the commit.

mvglasow commented 4 years ago

I’m on version 4.2 (version code 142), as downloaded from F-Droid. Would the commit then be somewhere in https://github.com/KillerInk/FreeDcam/compare/4.2...master ?

mvglasow commented 4 years ago

Confirmed, d3a06ac on NexusS/CM11 works. Haven’t tried the OnePlus One yet.