[neon/neon-packaging/kpipewire/Neon/release_jammy] debian/patches: patch from https://invent.kde.org/plasma/kpipewire/-/merge_requests/163/diffs

Jonathan Riddell null at kde.org
Sun Aug 25 16:15:31 BST 2024


Git commit b7024f9fc905c76a83ff859c0677353234f60a94 by Jonathan Riddell.
Committed on 25/08/2024 at 15:14.
Pushed by jriddell into branch 'Neon/release_jammy'.

patch from https://invent.kde.org/plasma/kpipewire/-/merge_requests/163/diffs

A  +19   -0    debian/patches/163.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/neon-packaging/kpipewire/-/commit/b7024f9fc905c76a83ff859c0677353234f60a94

diff --git a/debian/patches/163.diff b/debian/patches/163.diff
new file mode 100644
index 0000000..c4d4b87
--- /dev/null
+++ b/debian/patches/163.diff
@@ -0,0 +1,19 @@
+diff --git a/src/pipewiresourcestream.cpp b/src/pipewiresourcestream.cpp
+index f4fc63ee36844ce6db65bee71d4fe37a322b0f12..6f8242aca6dc29d1554dd22af42274682029ef33 100644
+--- a/src/pipewiresourcestream.cpp
++++ b/src/pipewiresourcestream.cpp
+@@ -685,6 +685,14 @@ void PipeWireSourceStream::coreFailed(const QString &errorMessage)
+ 
+ void PipeWireSourceStream::process()
+ {
++#if !PW_CHECK_VERSION(0, 3, 73)
++    if (Q_UNLIKELY(!d->pwStream)) {
++        // Assuming it's caused by https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3314
++        qCDebug(PIPEWIRE_LOGGING) << "stream was terminated before processing buffer";
++        return;
++    }
++#endif
++
+     pw_buffer *buf = pw_stream_dequeue_buffer(d->pwStream);
+     if (!buf) {
+         qCDebug(PIPEWIRE_LOGGING) << "out of buffers";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..556bd3c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+163.diff


More information about the Neon-commits mailing list