mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 08:40:56 +03:00
fixed basler bug; still have bugs with on-the-fly size changing
This commit is contained in:
4
server.c
4
server.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user