Browse Source

Z991239-5945 #comment 完善摄像头分辨率不符合要求RTA信息

80274480 9 tháng trước cách đây
mục cha
commit
8aa43c440c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Module/mod_mediacontroller/mod_mediacontroller.cpp

+ 2 - 2
Module/mod_mediacontroller/mod_mediacontroller.cpp

@@ -1656,7 +1656,7 @@ void CMediaControllerEntity::OnLog( const CAutoArray<CUUID> &SubIDs, const CUUID
 			char cdevid = pszMessage[0];
 			int idevid = cdevid - '0';
 			if (idevid == capture_get_video_device_id(conf.strVideoEnv)) {
-				DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("env camera no mathed resolution.");
+				DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_USER).setLogCode("QLR0402208V3").setResultCode("RTA2810")("上摄像分辨率不符合要求");
 				if (eStand1SPlusType == m_eDeviceType) {
 					m_nCameraErrorCode = Error_AllCamera;
 				}
@@ -1671,7 +1671,7 @@ void CMediaControllerEntity::OnLog( const CAutoArray<CUUID> &SubIDs, const CUUID
 				ChangeSysvar(m_nCameraErrorCode);
 			}
 			else if(idevid == capture_get_video_device_id(conf.strVideoOpt)){
-				DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("opt camera no mathed resolution.");
+				DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_USER).setLogCode("QLR0402208V3").setResultCode("RTA2810")("下摄像分辨率不符合要求");
 				if (m_nCameraErrorCode == Error_Succeed){
 					m_nCameraErrorCode = Error_OptCamera;
 				}