From e22f0268bd32390be6ab3de5ed86fc133674b132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B8=85?= Date: Thu, 11 Nov 2021 12:21:11 +0000 Subject: [PATCH] Signed-off-by: yangshuai --- frameworks/camera_device_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/camera_device_client.cpp b/frameworks/camera_device_client.cpp index 72eea2d..239a101 100755 --- a/frameworks/camera_device_client.cpp +++ b/frameworks/camera_device_client.cpp @@ -86,7 +86,7 @@ int32_t CameraDeviceClient::SetCameraConfig(CameraConfig &cc) { IpcIo io; uint8_t tmpData[DEFAULT_IPC_SIZE]; - IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0); + IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 1); if (cameraId_.empty()) { MEDIA_ERR_LOG("no camera exist."); return MEDIA_ERR; @@ -221,7 +221,7 @@ void CameraDeviceClient::Release() { IpcIo io; uint8_t tmpData[DEFAULT_IPC_SIZE]; - IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0); + IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 1); if (cameraId_.empty()) { MEDIA_ERR_LOG("no camera exist."); return; -- Gitee