fixed basler bug; still have bugs with on-the-fly size changing

This commit is contained in:
2023-04-11 11:08:28 +03:00
parent 002854f1e9
commit 38dee72b04
5 changed files with 14 additions and 11 deletions

View File

@@ -224,8 +224,10 @@ static int camdevini(int n){
frameformat step;
camera->getgeomlimits(&frmformatmax, &step);
curformat = frmformatmax;
DBG("\n\nGeometry format (offx/offy) w/h: (%d/%d) %d/%d", curformat.xoff, curformat.yoff,
DBG("\n\nGeometry format max (offx/offy) w/h: (%d/%d) %d/%d", curformat.xoff, curformat.yoff,
curformat.w, curformat.h);
// curformat.w -= curformat.xoff;
// curformat.h -= curformat.yoff;
curformat.xoff = 0;
curformat.yoff = 0;
if(GP->hbin < 1) GP->hbin = 1;