增加日志

nx2024
Matthew 4 months ago
parent 25c42a891b
commit 8b380d44bb

@ -1678,6 +1678,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;
} }
@ -2052,6 +2053,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
@ -2369,6 +2371,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