添加dump

Signed-off-by: chen0088 <chenmenghuan3@huawei.com>
This commit is contained in:
chen0088
2022-05-17 14:43:38 +08:00
parent 475edcb982
commit 06ee676144
3 changed files with 4 additions and 4 deletions
@@ -130,9 +130,9 @@ void DcameraSinkHidumper::ShowHelp(std::string& result)
.append("Description:\n")
.append("--version ")
.append("dump camera version in the system\n")
.append("--camNum ")
.append("--camNum ")
.append("dump local camera numbers in the system\n")
.append("--opened ")
.append("--opened ")
.append("dump the opened camera in the system\n");
}
@@ -157,7 +157,7 @@ void DcameraSourceHidumper::ShowHelp(std::string& result)
.append("dump camera version in the system\n")
.append("--registered ")
.append("dump number of registered cameras in the system\n")
.append("--curState ")
.append("--curState ")
.append("dump current state of the camera in the system\n");
}
@@ -552,7 +552,7 @@ void DCameraSourceDev::NotifyHalResult(DCAMERA_EVENT eventType, DCameraSourceEve
int32_t DCameraSourceDev::GetStateInfo()
{
DHLOGE("GetStateInfo In state %d", stateMachine_->GetCameraState());
DHLOGI("GetStateInfo In state %d", stateMachine_->GetCameraState());
return stateMachine_->GetCameraState();
}