forked from pool/wireplumber
Accepting request 947921 from home:alarrosa:branches:multimedia:libs
- Remove patch that was reverted upstream: * 0001-default-nodes-increase-priority-if-node-has-available-routes.patch OBS-URL: https://build.opensuse.org/request/show/947921 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=22
This commit is contained in:
parent
220b575aae
commit
096bf3d9ab
@ -1,32 +0,0 @@
|
||||
From ad80faaa8da75fd562cac4eb776312b83160c9d9 Mon Sep 17 00:00:00 2001
|
||||
From: Julian Bouzas <julian.bouzas@collabora.com>
|
||||
Date: Fri, 14 Jan 2022 07:24:52 -0500
|
||||
Subject: [PATCH] default-nodes: increase priority if node has available routes
|
||||
|
||||
Fixes #163
|
||||
---
|
||||
modules/module-default-nodes.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/modules/module-default-nodes.c b/modules/module-default-nodes.c
|
||||
index ac9a87bd..32b2725b 100644
|
||||
--- a/modules/module-default-nodes.c
|
||||
+++ b/modules/module-default-nodes.c
|
||||
@@ -206,11 +206,11 @@ find_best_media_class_node (WpDefaultNodes * self, const gchar *media_class,
|
||||
WP_PIPEWIRE_OBJECT (node), PW_KEY_PRIORITY_SESSION);
|
||||
gint prio = prio_str ? atoi (prio_str) : -1;
|
||||
|
||||
- if (!node_has_available_routes (self, node))
|
||||
- continue;
|
||||
+ if (node_has_available_routes (self, node))
|
||||
+ prio += 10000;
|
||||
|
||||
if (name && node_name && g_strcmp0 (name, node_name) == 0)
|
||||
- prio += 10000;
|
||||
+ prio += 20000;
|
||||
|
||||
if (prio > highest_prio || res == NULL) {
|
||||
highest_prio = prio;
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 21 11:41:03 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Remove patch that was reverted upstream:
|
||||
* 0001-default-nodes-increase-priority-if-node-has-available-routes.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 16:46:29 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
@ -30,7 +30,6 @@ Group: Development/Libraries/C and C++
|
||||
URL: https://gitlab.freedesktop.org/pipewire/wireplumber
|
||||
Source0: wireplumber-%{version}.tar.xz
|
||||
Source1: split-config-file.py
|
||||
Patch0: 0001-default-nodes-increase-priority-if-node-has-available-routes.patch
|
||||
Patch1: 0002-default-nodes-handle-nodes-without-Routes.patch
|
||||
Patch2: 0001-core-add-API-to-check-if-running-in-a-virtual-machine.patch
|
||||
Patch3: 0002-alsa-monitor-set-period-size-and-headroom-props-if-running-in-virtual-machine.patch
|
||||
|
Loading…
Reference in New Issue
Block a user