File: upstream_007c3bc8_VideoPlatformWayland-Clear-node-when-starting-a-new-recording.patch

package info (click to toggle)
kde-spectacle 4%3A6.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,912 kB
  • sloc: cpp: 13,087; xml: 746; sh: 10; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
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