Attached is the minimal one-line patch for the Ubuntu 22.04 v4l2loopback 0.12.7 source.
This patch restores `ready_for_output` when the last file descriptor is closed, addressing the issue described in Debian bug #1040744. The modified module was compiled and tested on Ubuntu 22.04 LTS with kernel 6.8.0-149-generic. Repeated V4L2 output start/stop cycles successfully restored the VIDEO_OUTPUT capability. I am requesting consideration of this fix for an official Ubuntu 22.04 Stable Release Update (SRU). Please review the patch against the upstream fix and adjust it if necessary. ** Patch added: "Minimal fix for exclusive_caps output capability after last close (v4l2loopback 0.12.7)" https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/2175159/+attachment/6019675/+files/correctif_source_exacte.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2175159 Title: v4l2loopback 0.12.7: exclusive_caps loses OUTPUT capability after writer closes (Ubuntu 22.04) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/2175159/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
