Browse Source

Remove debug logging

Benjamin Schaaf 4 years ago
parent
commit
e6deb1cfe7
2 changed files with 1 additions and 3 deletions
  1. 0 2
      io_pipeline.c
  2. 1 1
      process_pipeline.c

+ 0 - 2
io_pipeline.c

@@ -420,7 +420,6 @@ update_controls()
     }
 
     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);
     }
 
@@ -449,7 +448,6 @@ on_frame(MPImage image, void *data)
             }
 
             if (image_is_blank) {
-                printf("Skipping blank image\n");
                 ++blank_frame_count;
                 return;
             }

+ 1 - 1
process_pipeline.c

@@ -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 (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;
     }