Remove debug logging
This commit is contained in:
@@ -420,7 +420,6 @@ update_controls()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!desired_controls.exposure_is_manual && current_controls.exposure != desired_controls.exposure) {
|
if (!desired_controls.exposure_is_manual && current_controls.exposure != desired_controls.exposure) {
|
||||||
printf("Setting exposure to %d\n", desired_controls.exposure);
|
|
||||||
v4l2_ctrl_set(info->fd, V4L2_CID_EXPOSURE, desired_controls.exposure);
|
v4l2_ctrl_set(info->fd, V4L2_CID_EXPOSURE, desired_controls.exposure);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -449,7 +448,6 @@ on_frame(MPImage image, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (image_is_blank) {
|
if (image_is_blank) {
|
||||||
printf("Skipping blank image\n");
|
|
||||||
++blank_frame_count;
|
++blank_frame_count;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -351,7 +351,7 @@ void mp_process_pipeline_process_image(MPImage image)
|
|||||||
{
|
{
|
||||||
// If we haven't processed the previous frame yet, drop this one
|
// If we haven't processed the previous frame yet, drop this one
|
||||||
if (frames_received != frames_processed && !is_capturing) {
|
if (frames_received != frames_processed && !is_capturing) {
|
||||||
printf("Dropped frame at capture %d %d\n", frames_received, frames_processed);
|
printf("Dropped frame at capture\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user