diff --git a/frameworks/camera_device_client.cpp b/frameworks/camera_device_client.cpp index 72eea2dda5cf66e32dc7b1dff0c61f1de3567ea1..239a10174f63649cce694f6a003d3c4dd445a461 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;