From fa284c1a6e8044a07ed6633d0501ea9aeb48aa61 Mon Sep 17 00:00:00 2001 From: shernand <shernand@iri.upc.edu> Date: Thu, 21 Oct 2021 17:26:50 +0200 Subject: [PATCH] Removed a screen message notifying that the frame size was too short. --- libuvc_camera/src/camera_driver.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libuvc_camera/src/camera_driver.cpp b/libuvc_camera/src/camera_driver.cpp index 4878060..233afe8 100644 --- a/libuvc_camera/src/camera_driver.cpp +++ b/libuvc_camera/src/camera_driver.cpp @@ -168,10 +168,7 @@ void CameraDriver::ImageCallback(uvc_frame_t *frame) { } if(frame->data_bytes<frame->step*frame->height) - { - std::cout << "short frame" << std::endl; return; - } boost::recursive_mutex::scoped_lock lock(mutex_); -- GitLab