[neon/plasma/kwin/Neon/unstable_noble] debian/patches: rebase patch to use older pipewire api
Kai Uwe Broulik
null at kde.org
Wed Sep 9 18:52:47 BST 2026
Git commit 760753a207257238445f481bf6a106662f74341a by Kai Uwe Broulik.
Committed on 09/09/2026 at 12:20.
Pushed by broulik into branch 'Neon/unstable_noble'.
rebase patch to use older pipewire api
M +6 -6 debian/patches/pw_stream_queue_buffer.diff
https://invent.kde.org/neon/plasma/kwin/-/commit/760753a207257238445f481bf6a106662f74341a
diff --git a/debian/patches/pw_stream_queue_buffer.diff b/debian/patches/pw_stream_queue_buffer.diff
index 5abcc6f..6c2331a 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