public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/wireplumber] rawhide: Backport fix for disabled V4L2 devices stalling the event dispatcher (#2541019)
Date: Mon, 28 Sep 2026 08:43:44 GMT	[thread overview]
Message-ID: <179058502479.1.8871840860840729871.rpms-wireplumber-29c74060c7ea@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/wireplumber
Branch : rawhide
Commit : 29c74060c7ea8a0026af00995edc830dfa4904c8
Author : Simone Caronni <negativo17@gmail.com>
Date   : 2026-09-28T10:43:29+02:00
Stats  : +31/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/wireplumber/c/29c74060c7ea8a0026af00995edc830dfa4904c8?branch=rawhide

Log:
Backport fix for disabled V4L2 devices stalling the event dispatcher (#2541019)

---
diff --git a/65519a1ff7cecebc0622fc4a2badec830ee67d7d.patch b/65519a1ff7cecebc0622fc4a2badec830ee67d7d.patch
new file mode 100644
index 0000000..47cb8ae
--- /dev/null
+++ b/65519a1ff7cecebc0622fc4a2badec830ee67d7d.patch
@@ -0,0 +1,25 @@
+From 65519a1ff7cecebc0622fc4a2badec830ee67d7d Mon Sep 17 00:00:00 2001
+From: Julian Bouzas <julian.bouzas@collabora.com>
+Date: Sat, 12 Sep 2026 22:40:28 -0400
+Subject: [PATCH] v4l2: Also advante transition if device is disabled
+
+This avoids stalling the event dispatcher.
+---
+ src/scripts/monitors/v4l2/create-device.lua | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/scripts/monitors/v4l2/create-device.lua b/src/scripts/monitors/v4l2/create-device.lua
+index 9a4c9ee5e..3f98109c0 100644
+--- a/src/scripts/monitors/v4l2/create-device.lua
++++ b/src/scripts/monitors/v4l2/create-device.lua
+@@ -39,6 +39,7 @@ AsyncEventHook {
+ 
+         if cutils.parseBool (properties ["device.disabled"]) then
+           log:notice ("V4L2 device " .. properties["device.name"] .. " disabled")
++          transition:advance ()
+           return
+         end
+ 
+-- 
+GitLab
+

diff --git a/wireplumber.spec b/wireplumber.spec
index 00b48bf..8cfe1d5 100644
--- a/wireplumber.spec
+++ b/wireplumber.spec
@@ -1,6 +1,6 @@
 Name:       wireplumber
 Version:    0.5.17
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    A modular session/policy manager for PipeWire
 
 License:    MIT
@@ -8,6 +8,7 @@ URL:        https://pipewire.pages.freedesktop.org/wireplumber/
 Source0:    https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
 
 ## upstream patches
+Patch0:     https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/65519a1ff7cecebc0622fc4a2badec830ee67d7d.patch
 
 ## upstreamable patches
 
@@ -133,6 +134,10 @@ fi
 %{_datadir}/doc/wireplumber/
 
 %changelog
+* Mon Sep 28 2026 Simone Caronni <negativo17@gmail.com> - 0.5.17-2
+- Backport fix for disabled V4L2 devices stalling the event dispatcher
+- Resolves: rhbz#2541019
+
 * Thu Sep 17 2026 Wim Taymans <wtaymans@redhat.com> - 0.5.17-1
 - wireplumber 0.5.17
 

                 reply	other threads:[~2026-09-28  8:43 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=179058502479.1.8871840860840729871.rpms-wireplumber-29c74060c7ea@fedoraproject.org \
    --to=negativo17@gmail.com \
    --cc=git-commits@fedoraproject.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