mirror of
https://github.com/openharmony/multimedia_camera_lite.git
synced 2026-07-20 01:03:35 -04:00
!84 camera blue screen problem fix
Merge pull request !84 from liubb_0516/master
This commit is contained in:
@@ -55,7 +55,6 @@ private:
|
||||
CallBackPara *para_ = nullptr;
|
||||
SvcIdentity sid_;
|
||||
int32_t ret_ = 0;
|
||||
IpcObjectStub objectStub_;
|
||||
};
|
||||
} // namespace Media
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -53,7 +53,6 @@ private:
|
||||
CallBackPara *para_ = nullptr;
|
||||
uint8_t cameraModeNum = 0;
|
||||
int32_t ret_ = 0;
|
||||
IpcObjectStub objectStub_;
|
||||
};
|
||||
} // namespace Media
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
using namespace std;
|
||||
namespace OHOS {
|
||||
namespace Media {
|
||||
static IpcObjectStub objectStub_;
|
||||
|
||||
CameraDeviceClient *CameraDeviceClient::GetInstance()
|
||||
{
|
||||
static CameraDeviceClient client;
|
||||
@@ -216,6 +218,7 @@ void CameraDeviceClient::StopLoopingCapture(int32_t type)
|
||||
return;
|
||||
}
|
||||
WriteString(&io, cameraId_.c_str());
|
||||
WriteInt32(&io, type);
|
||||
CallBackPara para = {};
|
||||
para.funcId = CAMERA_SERVER_STOP_LOOPING_CAPTURE;
|
||||
para.data = this;
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
using namespace std;
|
||||
namespace OHOS {
|
||||
namespace Media {
|
||||
static IpcObjectStub objectStub_;
|
||||
|
||||
CameraServiceClient *CameraServiceClient::GetInstance()
|
||||
{
|
||||
static CameraServiceClient client;
|
||||
|
||||
Reference in New Issue
Block a user