Skip to content
Snippets Groups Projects
Commit fa284c1a authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed a screen message notifying that the frame size was too short.

parent 1a29daee
No related branches found
No related tags found
No related merge requests found
...@@ -168,10 +168,7 @@ void CameraDriver::ImageCallback(uvc_frame_t *frame) { ...@@ -168,10 +168,7 @@ void CameraDriver::ImageCallback(uvc_frame_t *frame) {
} }
if(frame->data_bytes<frame->step*frame->height) if(frame->data_bytes<frame->step*frame->height)
{
std::cout << "short frame" << std::endl;
return; return;
}
boost::recursive_mutex::scoped_lock lock(mutex_); boost::recursive_mutex::scoped_lock lock(mutex_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment