wireplumber/0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
Antonio Larrosa 0e3be88b55 Accepting request 1168470 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to silence a warning on pipewire
  (since 1.0.5):
  * 0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
- Add patch from upstream to fix a dangling reference to a device:
  * 0002-monitor-utils-clear-cam-data-after-creating-nodes.patch
- Add patch from upstream to fix BAP node naming:
  * 0003-monitors_bluez-fix-BAP-device-set-node-naming.patch

OBS-URL: https://build.opensuse.org/request/show/1168470
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=76
2024-04-17 07:12:24 +00:00

29 lines
934 B
Diff

From 7856124df0ebd28e259ce5b84b186cc4c859acd7 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date: Wed, 3 Apr 2024 11:52:18 +0300
Subject: [PATCH] core: set context.modules.allow-empty to silence warning in
pw_context
See https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/cddea858d9e8894d777b1830d76db18e57791e29
Closes: #620
---
lib/wp/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/wp/core.c b/lib/wp/core.c
index 9de0e69b..7e59447a 100644
--- a/lib/wp/core.c
+++ b/lib/wp/core.c
@@ -330,6 +330,7 @@ wp_core_constructed (GObject *object)
/* disable loading of a configuration file in pw_context */
wp_properties_set (self->properties, PW_KEY_CONFIG_NAME, "null");
+ wp_properties_set (self->properties, "context.modules.allow-empty", "true");
}
/* properties are fully stored in the pw_context, no need to keep a copy */
--
GitLab