commit 27/2025

Tambah Crop Setting
This commit is contained in:
2025-05-27 14:47:52 +07:00
parent 957d642f5d
commit 0728ae3ca2
4 changed files with 11 additions and 14 deletions

View File

@@ -1063,7 +1063,7 @@ public class Cameradetail {
// 30 fps means 33 ms per frame
// so if grab is quicker than 30 ms , its stale frame
try{
if (mGrabber==null) throw new FrameGrabber.Exception("Grabber is null");
if (mGrabber==null) throw new Exception("Grabber is null");
Frame frame = mGrabber.grab(); // grab frame
delta = System.currentTimeMillis() - now;
now = System.currentTimeMillis();
@@ -1093,7 +1093,8 @@ public class Cameradetail {
if (Capturing.get()) {
try{
if (mGrabber==null) continue;
if (mGrabber==null) throw new Exception("Grabber is null");
frame = mGrabber.grab();
} catch (Exception e){
if (Capturing.get()){