增加日志

streaming
Matthew 4 months ago
parent 52e2b5f064
commit 4ca8e83188

@ -2256,6 +2256,7 @@ bool CPhoneDevice::onOneCapture(std::shared_ptr<ACameraMetadata> characteristics
if (rgb.empty()) if (rgb.empty())
{ {
XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId);
TakePhotoCb(0, photoInfo, "", takingTime); TakePhotoCb(0, photoInfo, "", takingTime);
return true; return true;
} }
@ -2706,6 +2707,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr<ACameraMetadata> characteristi
if (rgb.empty()) if (rgb.empty())
{ {
XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId);
pThis->TakePhotoCb(0, photoInfo, path, takingTime); pThis->TakePhotoCb(0, photoInfo, path, takingTime);
} }
else else
@ -3028,6 +3030,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr<ACameraMetadata> characteristi
if (rgb.empty()) if (rgb.empty())
{ {
XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId);
pThis->TakePhotoCb(0, photoInfo, path, takingTime); pThis->TakePhotoCb(0, photoInfo, path, takingTime);
} }
else else

Loading…
Cancel
Save