summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch
diff options
context:
space:
mode:
authorAshok Sidipotu <ashok.sidipotu@collabora.com>2023-12-20 01:05:41 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-12-29 15:57:56 +0000
commit4b6d23485d23dad66b2e5572cdedacca5c1f6362 (patch)
tree0455f936859ddcc7490ed9998f46bc3d843e26af /meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch
parent64258485d6d09977a27c1313a39c4567b0d5ac71 (diff)
pipewire: Update PipeWire to v1.0.0 and WirePlumber to v0.4.17
The PipeWire project is immensely proud to announce the 1.0 release of PipeWire. Highlights of Pipewire. - Fix a memfd/dmabuf leak when uploading buffers while shutting down. - Handle concurrent jack_port_get_buffer() calls because ardour seems to be doing this. - Improve time reporting (less jitter) in ALSA when using IRQ. - Many doc improvements Highlights of wireplumber. - Fixed a reference counting issue in the object managers that could cause crashes due to memory corruption (#534) - Fixed an issue with filters linking to wrong targets, often with two sets of links (#536) - Fixed a crash in the endpoints policy that would show up when log messages were enabled at level 3 or higher Bug-AGL: SPEC-5022 Change-Id: Ibeff85f7f4b02b8b667e4c6caf6beab4487854bc Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29546 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch')
-rw-r--r--meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch b/meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch
deleted file mode 100644
index fa123a07f..000000000
--- a/meta-pipewire/recipes-multimedia/pipewire/pipewire/0002-gst-avoid-reporting-error-twice.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From cbb12450c2f258ef3ac8239889784e1a97dfeaa8 Mon Sep 17 00:00:00 2001
-From: George Kiagiadakis <george.kiagiadakis@collabora.com>
-Date: Wed, 8 Nov 2023 18:12:59 +0200
-Subject: [PATCH 1/2] gst: avoid reporting error twice
-
-First, make the error permanent by calling pw_stream_set_error()
-and when this emits an error state again, report that to GStreamer.
-
-Do the same in pipewiresink, which didn't even have the
-pw_stream_set_error() call before, so the stream wasn't really going
-into an error state at all.
-
-Upstream-Status: Pipewire MR1763 merged
----
- src/gst/gstpipewiresink.c | 9 +++++++--
- src/gst/gstpipewiresrc.c | 10 +++++++---
- 2 files changed, 14 insertions(+), 5 deletions(-)
-
-diff --git a/src/gst/gstpipewiresink.c b/src/gst/gstpipewiresink.c
-index 36d158095..001ede9d5 100644
---- a/src/gst/gstpipewiresink.c
-+++ b/src/gst/gstpipewiresink.c
-@@ -532,8 +532,13 @@ on_state_changed (void *data, enum pw_stream_state old, enum pw_stream_state sta
- pw_stream_trigger_process (pwsink->stream);
- break;
- case PW_STREAM_STATE_ERROR:
-- GST_ELEMENT_ERROR (pwsink, RESOURCE, FAILED,
-- ("stream error: %s", error), (NULL));
-+ /* make the error permanent, if it is not already;
-+ pw_stream_set_error() will recursively call us again */
-+ if (pw_stream_get_state (pwsink->stream, NULL) != PW_STREAM_STATE_ERROR)
-+ pw_stream_set_error (pwsink->stream, -EPIPE, "%s", error);
-+ else
-+ GST_ELEMENT_ERROR (pwsink, RESOURCE, FAILED,
-+ ("stream error: %s", error), (NULL));
- break;
- }
- pw_thread_loop_signal (pwsink->core->loop, FALSE);
-diff --git a/src/gst/gstpipewiresrc.c b/src/gst/gstpipewiresrc.c
-index 0514e4caa..e473338ba 100644
---- a/src/gst/gstpipewiresrc.c
-+++ b/src/gst/gstpipewiresrc.c
-@@ -681,9 +681,13 @@ on_state_changed (void *data,
- case PW_STREAM_STATE_STREAMING:
- break;
- case PW_STREAM_STATE_ERROR:
-- pw_stream_set_error (pwsrc->stream, -EPIPE, "%s", error);
-- GST_ELEMENT_ERROR (pwsrc, RESOURCE, FAILED,
-- ("stream error: %s", error), (NULL));
-+ /* make the error permanent, if it is not already;
-+ pw_stream_set_error() will recursively call us again */
-+ if (pw_stream_get_state (pwsrc->stream, NULL) != PW_STREAM_STATE_ERROR)
-+ pw_stream_set_error (pwsrc->stream, -EPIPE, "%s", error);
-+ else
-+ GST_ELEMENT_ERROR (pwsrc, RESOURCE, FAILED,
-+ ("stream error: %s", error), (NULL));
- break;
- }
- pw_thread_loop_signal (pwsrc->core->loop, FALSE);
---
-2.41.0
-