串口规约上送时间与水印时间一致

rtmpsuck
XI.CHEN 6 months ago
parent 2f176a0a33
commit 4cca774a09

@ -1805,6 +1805,8 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
std::thread t([localPhotoInfo, param, pThis, path, osds, wid_serial]() mutable std::thread t([localPhotoInfo, param, pThis, path, osds, wid_serial]() mutable
{ {
time_t ts = time(NULL); time_t ts = time(NULL);
if(localPhotoInfo.scheduleTime != 0)
ts = localPhotoInfo.scheduleTime;
pThis->OpenPTZSensors(localPhotoInfo.selfTestingTime); pThis->OpenPTZSensors(localPhotoInfo.selfTestingTime);
if (localPhotoInfo.preset != 0 && localPhotoInfo.preset != 0xFF) if (localPhotoInfo.preset != 0 && localPhotoInfo.preset != 0xFF)

Loading…
Cancel
Save