mirror of
https://github.com/openharmony/distributed_camera.git
synced 2026-07-19 16:43:57 -04:00
@@ -207,7 +207,7 @@ void DCameraClient::ReleasCaptureSession()
|
||||
int32_t ret = captureSession_->Stop();
|
||||
if (ret != DCAMERA_OK) {
|
||||
DHLOGE("DCameraClient::StopCapture captureSession stop failed, cameraId: %s, ret: %d",
|
||||
GetAnonyString(cameraId_).c_str(), ret);
|
||||
GetAnonyString(cameraId_).c_str(), ret);
|
||||
}
|
||||
DHLOGI("DCameraClient::StopCapture %s release captureSession", GetAnonyString(cameraId_).c_str());
|
||||
captureSession_->Release();
|
||||
|
||||
@@ -193,7 +193,7 @@ void DCameraClient::ReleasCaptureSession()
|
||||
int32_t ret = captureSession_->Stop();
|
||||
if (ret != DCAMERA_OK) {
|
||||
DHLOGE("DCameraClientCommon::StopCapture captureSession stop failed, cameraId: %s, ret: %d",
|
||||
GetAnonyString(cameraId_).c_str(), ret);
|
||||
GetAnonyString(cameraId_).c_str(), ret);
|
||||
}
|
||||
DHLOGI("DCameraClientCommon::StopCapture %s release captureSession", GetAnonyString(cameraId_).c_str());
|
||||
captureSession_->Release();
|
||||
|
||||
Reference in New Issue
Block a user