diff options
author | Scott Murray <scott.murray@konsulko.com> | 2021-08-24 09:57:08 -0400 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-08-25 12:50:36 +0000 |
commit | 502057487cf7346e136e058880a33ac298facb19 (patch) | |
tree | 387230ed28049327c097df986a90a06d9f8f7858 /meta-pipewire/recipes-multimedia/pipewire/pipewire/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch | |
parent | 61d41b58d300f2f9b8985361f93e698aa8888a65 (diff) |
pipewire: update to pw 0.3.30 and wp 0.4.0
* The pipewire recipe has been synced with the upstream yocto one
* WirePlumber configuration now has volume ducking enabled for
navigation messages. This means that music will now duck when
a navigation message plays instead of being corked.
* PipeWire's default configuration now lives in /usr/share/pipewire,
with the possibility to override it in /etc/pipewire. This allows
resetting to upstream defaults by removing /etc/pipewire
v2: add licenses to the layer to match the upstream recipe,
adapt licenses of sub-packages
v3: mark each package with the desired license instead of the mix
v4: simplify the license output of the sub-packages
Bug-AGL: SPEC-3844
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
[manual backport of e17ac08 from master/lamprey]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibf72ed9536706e940abcaa08be92f19617f1ab1f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26569
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/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch')
-rw-r--r-- | meta-pipewire/recipes-multimedia/pipewire/pipewire/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-pipewire/recipes-multimedia/pipewire/pipewire/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch b/meta-pipewire/recipes-multimedia/pipewire/pipewire/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch deleted file mode 100644 index a3bde14bc..000000000 --- a/meta-pipewire/recipes-multimedia/pipewire/pipewire/0001-pipewiresink-use-all-the-available-dest-memory-when-.patch +++ /dev/null @@ -1,33 +0,0 @@ -From b86e5cabfae3ab354f350f8f7589b21a153a8a5d Mon Sep 17 00:00:00 2001 -From: George Kiagiadakis <george.kiagiadakis@collabora.com> -Date: Mon, 10 May 2021 17:12:12 +0300 -Subject: pipewiresink: use all the available dest memory when copying buffer - -When pipewiresink needs to copy data, it has to resize the destination -buffer (to a smaller size) in order to send the correct data size to -pipewire. When this dest buffer is reused later, it will still have -this smaller size as its total size and the copy may discard data -from upstream if the new upstream buffer is bigger than the last one -that was copied on the same dest buffer. - -Upstream-Status: Backport [from master/0.3.28] ---- - src/gst/gstpipewiresink.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gst/gstpipewiresink.c b/src/gst/gstpipewiresink.c -index 966b12c7..031b3ae0 100644 ---- a/src/gst/gstpipewiresink.c -+++ b/src/gst/gstpipewiresink.c -@@ -616,7 +616,7 @@ gst_pipewire_sink_render (GstBaseSink * bsink, GstBuffer * buffer) - goto done; - - gst_buffer_map (b, &info, GST_MAP_WRITE); -- gst_buffer_extract (buffer, 0, info.data, info.size); -+ gst_buffer_extract (buffer, 0, info.data, info.maxsize); - gst_buffer_unmap (b, &info); - gst_buffer_resize (b, 0, gst_buffer_get_size (buffer)); - buffer = b; --- -2.30.2 - |