Fixed corrupt last frame and metadata
This commit is contained in:
@@ -12,7 +12,7 @@ fmt=BGGR8
|
||||
rotate=270
|
||||
colormatrix=1.384,-0.3203,-0.0124,-0.2728,1.049,0.1556,-0.0506,0.2577,0.8050
|
||||
forwardmatrix=0.7331,0.1294,0.1018,0.3039,0.6698,0.0263,0.0002,0.0556,0.7693
|
||||
blacklevel=32
|
||||
blacklevel=10
|
||||
whitelevel=255
|
||||
focallength=3.33
|
||||
cropfactor=10.81
|
||||
|
@@ -12,7 +12,7 @@ fmt=BGGR8
|
||||
rotate=270
|
||||
colormatrix=1.384,-0.3203,-0.0124,-0.2728,1.049,0.1556,-0.0506,0.2577,0.8050
|
||||
forwardmatrix=0.7331,0.1294,0.1018,0.3039,0.6698,0.0263,0.0002,0.0556,0.7693
|
||||
blacklevel=32
|
||||
blacklevel=10
|
||||
whitelevel=255
|
||||
focallength=3.33
|
||||
cropfactor=10.81
|
||||
|
@@ -12,7 +12,7 @@ fmt=BGGR8
|
||||
rotate=270
|
||||
colormatrix=1.384,-0.3203,-0.0124,-0.2728,1.049,0.1556,-0.0506,0.2577,0.8050
|
||||
forwardmatrix=0.7331,0.1294,0.1018,0.3039,0.6698,0.0263,0.0002,0.0556,0.7693
|
||||
blacklevel=32
|
||||
blacklevel=10
|
||||
whitelevel=255
|
||||
focallength=3.33
|
||||
cropfactor=10.81
|
||||
|
@@ -12,7 +12,7 @@ fmt=BGGR8
|
||||
rotate=270
|
||||
colormatrix=1.384,-0.3203,-0.0124,-0.2728,1.049,0.1556,-0.0506,0.2577,0.8050
|
||||
forwardmatrix=0.7331,0.1294,0.1018,0.3039,0.6698,0.0263,0.0002,0.0556,0.7693
|
||||
blacklevel=32
|
||||
blacklevel=10
|
||||
whitelevel=255
|
||||
focallength=3.33
|
||||
cropfactor=10.81
|
||||
|
1
main.c
1
main.c
@@ -559,7 +559,6 @@ process_image(const int *p, int size)
|
||||
}
|
||||
thumb = gdk_pixbuf_scale_simple(pixbufrot, 24, 24, GDK_INTERP_BILINEAR);
|
||||
gtk_image_set_from_pixbuf(GTK_IMAGE(thumb_last), thumb);
|
||||
gdk_pixbuf_save(pixbufrot, fname, "jpeg", &error, "quality", "95", NULL);
|
||||
last_path = strdup(fname);
|
||||
if (error != NULL) {
|
||||
g_printerr("%s\n", error->message);
|
||||
|
Reference in New Issue
Block a user