MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Stop

Method Stop

Src/RecordVideo.cpp:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93int CRecordVideo::Stop()
94{
95 int nRet = 0;
96 qDebug(log) << "Stop";
97#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
98 m_Recorder.stop();
99 m_CaptureSession.setVideoFrameInput(nullptr);
100 m_CaptureSession.setAudioBufferInput(nullptr);
101 m_CaptureSession.setRecorder(nullptr);
102#endif
103
104 return nRet;
105}
106
107void CRecordVideo::slotUpdate(QImage img)
108{

Callers 1

runMethod · 0.45

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected