Commit Graph
3 Commits
Author SHA1 Message Date
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
ryanrhughes b8a12b48b1 chore: sync AUR packages (edge) 2026-03-26 07:00:26 +00:00
Spencer Bull ad14b24066 add v4l2-relayd to omarchy package mirror and as a dep to intel-ipu7-camera
Signed-off-by: Spencer Bull <Spencer.Bull@Dell.com>
2026-03-25 10:12:51 -05:00