Virtual camera with v4l2loopback currently non-functional

Description:

Currently the virtual camera functionality using the v4l2loopback module is broken, causing a "Failed to start virtual camera" message dialog window to be displayed and printing these messages to the console:

error: Failed to start streaming on '/dev/video7' (Invalid argument)
warning: Failed to start virtual camera

This is reported to be due to a fixed bug in the v4l2loopback module for which obs-studio had a workaround in place which now causes this issue.

Upstream issue: https://github.com/obsproject/obs-studio/issues/11974

There is an as-yet-unmerged pull request that fixes this issue: https://github.com/obsproject/obs-studio/pull/11906

Maybe this pull request can be temporarily applied to this Arch package until upstream gets this sorted out.

Additional info:

Steps to reproduce:

  1. Click on the "Start virtual camera" button in OBS
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information