diff --git a/0001-default-nodes-increase-priority-if-node-has-available-routes.patch b/0001-default-nodes-increase-priority-if-node-has-available-routes.patch deleted file mode 100644 index 2cdb792..0000000 --- a/0001-default-nodes-increase-priority-if-node-has-available-routes.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ad80faaa8da75fd562cac4eb776312b83160c9d9 Mon Sep 17 00:00:00 2001 -From: Julian Bouzas -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 - diff --git a/wireplumber.changes b/wireplumber.changes index 88e0dc4..c7716ef 100644 --- a/wireplumber.changes +++ b/wireplumber.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 21 11:41:03 UTC 2022 - Antonio Larrosa + +- 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 diff --git a/wireplumber.spec b/wireplumber.spec index a9ea7ee..7f2bf74 100644 --- a/wireplumber.spec +++ b/wireplumber.spec @@ -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