Change burst length depending on gain

The burst_length is now calculated before taking the first picture
by increasing the number of frames when the sensor gain is raised.
This commit is contained in:
Martijn Braam
2022-02-15 17:29:12 +01:00
parent 3c4aaf9fb5
commit 899748df46
2 changed files with 12 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ static char last_path[260] = "";
static MPZBarScanResult *zbar_result = NULL;
static int burst_length = 3;
static int burst_length = 0;
// Widgets
GtkWidget *preview;