diff --git a/components/rgbd-sources/src/sources/stereovideo/pylon.cpp b/components/rgbd-sources/src/sources/stereovideo/pylon.cpp index 515aadda3bb84642a9710bdd2463a0e8e079507b..064cab2ac3cd4cee582dc7e23a38ad16456bba03 100644 --- a/components/rgbd-sources/src/sources/stereovideo/pylon.cpp +++ b/components/rgbd-sources/src/sources/stereovideo/pylon.cpp @@ -218,7 +218,7 @@ bool PylonDevice::get(cv::cuda::GpuMat &l_out, cv::cuda::GpuMat &r_out, cv::cuda Pylon::CGrabResultPtr tmp_result; lcam_->RetrieveResult(0, tmp_result, Pylon::TimeoutHandling_Return); rcam_->RetrieveResult(0, tmp_result, Pylon::TimeoutHandling_Return); - } else if (rcount > 1 || lcount > 1) LOG(ERROR) << "Buffers out of sync"; + } else if (rcount > 1 || lcount > 1) LOG(ERROR) << "Buffers out of sync by " << std::max(rcount, lcount); } else { if (lcam_->NumReadyBuffers.GetValue() == 0) { LOG(INFO) << "Retrieve failed for L";