[neon/plasma/kwin/Neon/unstable_noble] debian/patches: OMG

Carlos De Maine null at kde.org
Sun Sep 13 04:36:00 BST 2026


Git commit a3d69fcbeada32bfb22a68098cc8efcd8e9a35dd by Carlos De Maine.
Committed on 13/09/2026 at 03:35.
Pushed by carlosdem into branch 'Neon/unstable_noble'.

OMG

M  +7    -5    debian/patches/pw_stream_queue_buffer.diff

https://invent.kde.org/neon/plasma/kwin/-/commit/a3d69fcbeada32bfb22a68098cc8efcd8e9a35dd

diff --git a/debian/patches/pw_stream_queue_buffer.diff b/debian/patches/pw_stream_queue_buffer.diff
index d724b4d..6c2331a 100644
--- a/debian/patches/pw_stream_queue_buffer.diff
+++ b/debian/patches/pw_stream_queue_buffer.diff
@@ -1,11 +1,13 @@
+diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
+index 683d885e3d..f6b8ed5cce 100644
 --- a/src/plugins/screencast/screencaststream.cpp
 +++ b/src/plugins/screencast/screencaststream.cpp
-@@ -628,7 +628,7 @@
+@@ -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