Initial Commit
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
Command::new("/usr/sbin/modprobe")
|
||||
.arg("v4l2loopback")
|
||||
.arg("exclusive_caps=1")
|
||||
.arg("card_label='OBS Virtual Camera'")
|
||||
.spawn()
|
||||
.expect("Modprobe command has failed");
|
||||
}
|
||||
Reference in New Issue
Block a user