Files
omarchy-pkgs/pkgbuilds/edge
Gaggery Tsai 5644881bcb v4l2-relayd: reset output pipeline on reader disconnect
When the last camera reader disconnects, cycle the output pipeline
(v4l2sink) through READY → PLAYING to reset v4l2loopback's format
state. Without this, switching between camera apps that use different
PipeWire paths (e.g. Chromium → GNOME Snapshot) fails with "no more
input formats" because v4l2loopback retains stale format state from
the previous session.

The reset is guarded by an input_was_active flag so it only triggers
after an actual streaming session, not during PipeWire's brief device
probes on startup.

Tested on Dell XPS 16 (Panther Lake) with PipeWire 1.6.2:
- Snapshot → Zoom → Snapshot: working
- Suspend → resume → Snapshot: working
- Boot → first Snapshot: 30fps
2026-03-30 10:09:12 -07:00
..
2026-03-01 06:37:03 +00:00
2026-03-25 06:54:42 +00:00
2026-03-14 06:37:18 +00:00
2026-03-26 09:38:58 +01:00
2026-02-18 00:39:01 -05:00
2026-02-18 00:40:19 -05:00
2026-01-27 06:24:57 +00:00
2026-02-11 17:47:01 -05:00
2026-03-14 06:37:18 +00:00
2026-02-02 11:13:18 -05:00
2026-02-11 17:47:01 -05:00