public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.77/
Date: Sun, 13 Aug 2023 03:27:47 +0000 (UTC)	[thread overview]
Message-ID: <1691897171.68d9b4d3cb0fe800f1baba462ce4f0a00f4bdfa3.sam@gentoo> (raw)

commit:     68d9b4d3cb0fe800f1baba462ce4f0a00f4bdfa3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 03:26:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 03:26:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d9b4d3

media-video/pipewire: backport recommended patch for pulse duplicates

Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../0.3.77/0002-pulse-prevent-duplicates.patch     | 28 ++++++++++++++++++++++
 ...ire-0.3.77.ebuild => pipewire-0.3.77-r1.ebuild} |  0
 2 files changed, 28 insertions(+)

diff --git a/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch b/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
new file mode 100644
index 000000000000..5a0fcde67fed
--- /dev/null
+++ b/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
@@ -0,0 +1,28 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/820ca90705ae78124958f1b96de3bdc7889c2d1e
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414
+
+From 820ca90705ae78124958f1b96de3bdc7889c2d1e Mon Sep 17 00:00:00 2001
+From: Wim Taymans <wtaymans@redhat.com>
+Date: Tue, 8 Aug 2023 13:01:30 +0200
+Subject: [PATCH] pulse-server: set all change_mask flags when removing
+
+So that the logic to emit events will select sink and source objects.
+
+Fixes #3414
+--- a/src/modules/module-protocol-pulse/manager.c
++++ b/src/modules/module-protocol-pulse/manager.c
+@@ -641,9 +641,10 @@ static void registry_event_global_remove(void *data, uint32_t id)
+ 
+ 	o->this.removing = true;
+ 
+-	if (!o->this.creating)
++	if (!o->this.creating) {
++		o->this.change_mask = ~0;
+ 		manager_emit_removed(m, &o->this);
+-
++	}
+ 	object_destroy(o);
+ }
+ 
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.77.ebuild b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.77.ebuild
rename to media-video/pipewire/pipewire-0.3.77-r1.ebuild


                 reply	other threads:[~2023-08-13  3:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691897171.68d9b4d3cb0fe800f1baba462ce4f0a00f4bdfa3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox