From 5ae170f1d6e4c1252c98318f9939ccca3baa235f Mon Sep 17 00:00:00 2001 From: Jay Paul Date: Tue, 30 Jan 2024 23:22:44 -0500 Subject: [PATCH] plugins/screencast: set frame timer to one shot BUG: 469777 --- src/plugins/screencast/screencaststream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp index ad739c2de5..421cf2d9c7 100644 --- a/src/plugins/screencast/screencaststream.cpp +++ b/src/plugins/screencast/screencaststream.cpp @@ -333,6 +333,7 @@ ScreenCastStream::ScreenCastStream(ScreenCastSource *source, std::shared_ptronStreamParamChanged(id, param); }; + m_pendingFrame.setSingleShot(true); connect(&m_pendingFrame, &QTimer::timeout, this, [this] { recordFrame(m_pendingDamages); });