1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From 007c3bc87605e86e65714406c2696c5689be0134 Mon Sep 17 00:00:00 2001
From: Noah Davis <noahadvs@gmail.com>
Date: Fri, 18 Apr 2025 22:38:43 +0000
Subject: [PATCH] VideoPlatformWayland: Clear node when starting a new
recording
---
src/Platforms/VideoPlatformWayland.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Platforms/VideoPlatformWayland.cpp b/src/Platforms/VideoPlatformWayland.cpp
index 6b60fe24..c84547db 100644
--- a/src/Platforms/VideoPlatformWayland.cpp
+++ b/src/Platforms/VideoPlatformWayland.cpp
@@ -238,6 +238,7 @@ void VideoPlatformWayland::startRecording(const QUrl &fileUrl, RecordingMode rec
default: break; // This shouldn't happen
}
m_recorder->setMaxPendingFrames(availableFrames(m_frameBytes));
+ m_recorder->setNodeId(0);
Q_ASSERT(stream);
connect(stream, &ScreencastingStream::created, this, [this, stream] {
--
GitLab
|