Add patch for setting node description for module-combine-sink

This commit is contained in:
LuK1337 2021-06-15 15:39:02 +02:00
parent c980c7e636
commit 62fdb2ed81
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 01875ad223235d363131ce72779e885eca55303e Mon Sep 17 00:00:00 2001
From: Nicolai Syvertsen <saivert@saivert.com>
Date: Thu, 10 Jun 2021 22:21:26 +0200
Subject: [PATCH] pipewire-pulse: set description
Some applications like TeamSpeak crash when this isn't set.
---
src/modules/module-protocol-pulse/modules/module-combine-sink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/modules/module-protocol-pulse/modules/module-combine-sink.c b/src/modules/module-protocol-pulse/modules/module-combine-sink.c
index e2399a5a..3a1c4bac 100644
--- a/src/modules/module-protocol-pulse/modules/module-combine-sink.c
+++ b/src/modules/module-protocol-pulse/modules/module-combine-sink.c
@@ -327,6 +327,7 @@ static int module_combine_sink_load(struct client *client, struct module *module
props = pw_properties_new(NULL, NULL);
pw_properties_set(props, PW_KEY_NODE_NAME, data->sink_name);
+ pw_properties_set(props, PW_KEY_NODE_DESCRIPTION, data->sink_name);
pw_properties_set(props, PW_KEY_MEDIA_CLASS, "Audio/Sink");
pw_properties_setf(props, PW_KEY_NODE_GROUP, "combine_sink-%u", data->module->idx);
pw_properties_set(props, PW_KEY_NODE_VIRTUAL, "true");
--
2.31.1

View File

@ -8,7 +8,7 @@
%global libversion %{soversion}.%(bash -c '((intversion = (%{minorversion} * 100) + %{microversion})); echo ${intversion}').0
# For rpmdev-bumpspec and releng automation
%global baserelease 3
%global baserelease 4
#global snapdate 20210107
#global gitcommit b17db2cebc1a5ab2c01851d29c05f79cd2f262bb
@ -57,6 +57,7 @@ Patch0001: 0002-alsa-open-UCM-only-once.patch
Patch0002: 0003-acp-don-t-use-the-card-index-for-alibpref.patch
Patch0003: 0004-alsa-use-the-local-alibpref-of-the-card.patch
Patch0004: 0005-alsa-strip-and-add-the-_alibpref-from-device-names.patch
Patch0005: 0006-pipewire-pulse-set-description.patch
## upstreamable patches
@ -481,6 +482,9 @@ systemctl --no-reload preset --global pipewire.socket >/dev/null 2>&1 || :
%endif
%changelog
* Tue Jun 15 2021 Łukasz Patron <priv.luk@gmail.com> - 0.3.30-4
- Add patch for setting node description for module-combine-sink
* Tue Jun 15 2021 Wim Taymans <wtaymans@redhat.com> - 0.3.30-3
- Rebuild for Gstreamer update