[neon/plasma/kwin/Neon/unstable_noble] debian/patches: actually copy/paste kai's patch correctlty
Carlos De Maine
null at kde.org
Sun Sep 13 03:28:44 BST 2026
Git commit 6263fb41271dab5392e4062d853c5159eb10e77b by Carlos De Maine.
Committed on 13/09/2026 at 02:28.
Pushed by carlosdem into branch 'Neon/unstable_noble'.
actually copy/paste kai's patch correctlty
M +24 -18 debian/patches/pw_stream_queue_buffer.diff
https://invent.kde.org/neon/plasma/kwin/-/commit/6263fb41271dab5392e4062d853c5159eb10e77b
diff --git a/debian/patches/pw_stream_queue_buffer.diff b/debian/patches/pw_stream_queue_buffer.diff
index c04c004..415ba48 100644
--- a/debian/patches/pw_stream_queue_buffer.diff
+++ b/debian/patches/pw_stream_queue_buffer.diff
@@ -1,18 +1,24 @@
-diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
-index 5a169e78d0..b6e06edf4f 100644
-index 683d885e3d..f6b8ed5cce 100644
---- a/src/plugins/screencast/screencaststream.cpp
-+++ b/src/plugins/screencast/screencaststream.cpp
-@@ -622,7 +623,7 @@ void ScreenCastStream::record(Contents contents)
-
- EglContext *context = backend->openglContext();
- if (!context->makeCurrent()) {
- const auto &context = m_source->eglContext();
- if (!context || !context->makeCurrent()) {
-- pw_stream_return_buffer(m_pwStream, pwBuffer);
-+ pw_stream_queue_buffer(m_pwStream, pwBuffer);
- // TODO maybe re-allocate buffers and deal with this better?
- close();
- return;
- }
-
+diff --git a/debian/patches/pw_stream_queue_buffer.diff b/debian/patches/pw_stream_queue_buffer.diff
+index 5abcc6fc91b2465d3b2b434230b81f267a18281e..6c2331a70543121840cda4f322307fdae71e076a 100644
+--- a/debian/patches/pw_stream_queue_buffer.diff
++++ b/debian/patches/pw_stream_queue_buffer.diff
+@@ -1,13 +1,13 @@
+ diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
+-index 5a169e78d0..b6e06edf4f 100644
++index 683d885e3d..f6b8ed5cce 100644
+ --- a/src/plugins/screencast/screencaststream.cpp
+ +++ b/src/plugins/screencast/screencaststream.cpp
+-@@ -622,7 +623,7 @@ void ScreenCastStream::record(Contents contents)
++@@ -628,7 +628,7 @@ void ScreenCastStream::record(Contents contents)
+
+- EglContext *context = backend->openglContext();
+- if (!context->makeCurrent()) {
++ const auto &context = m_source->eglContext();
++ if (!context || !context->makeCurrent()) {
+ - pw_stream_return_buffer(m_pwStream, pwBuffer);
+ + pw_stream_queue_buffer(m_pwStream, pwBuffer);
++ // TODO maybe re-allocate buffers and deal with this better?
++ close();
+ return;
+- }
+-
More information about the Neon-commits
mailing list