plugins/screencast: set frame timer to one shot
BUG: 469777
This commit is contained in:
parent
896a57d3be
commit
5ae170f1d6
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ ScreenCastStream::ScreenCastStream(ScreenCastSource *source, std::shared_ptr<Pip
|
|||
_this->onStreamParamChanged(id, param);
|
||||
};
|
||||
|
||||
m_pendingFrame.setSingleShot(true);
|
||||
connect(&m_pendingFrame, &QTimer::timeout, this, [this] {
|
||||
recordFrame(m_pendingDamages);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue