Help finding modinfo, Closes: #977928
This commit is contained in:
parent
d6b8ca5977
commit
7c1ff54774
2 changed files with 17 additions and 0 deletions
16
debian/patches/0009-v4l2loopback.patch
vendored
Normal file
16
debian/patches/0009-v4l2loopback.patch
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
From: gregor herrmann <gregoa@debian.org>
|
||||||
|
Subject: obs-studio: virtual camera not working, modinfo not in path
|
||||||
|
Date: Wed, 23 Dec 2020 01:22:56 +0100
|
||||||
|
Bug-Debian: https://bugs.debian.org/977928
|
||||||
|
|
||||||
|
--- a/plugins/linux-v4l2/linux-v4l2.c
|
||||||
|
+++ b/plugins/linux-v4l2/linux-v4l2.c
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
{
|
||||||
|
bool loaded = false;
|
||||||
|
|
||||||
|
- int ret = system("modinfo v4l2loopback >/dev/null 2>&1");
|
||||||
|
+ int ret = system("PATH=$PATH:/sbin modinfo v4l2loopback >/dev/null 2>&1");
|
||||||
|
|
||||||
|
if (ret == 0)
|
||||||
|
loaded = true;
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -6,3 +6,4 @@
|
||||||
0006-Add-SONAME.patch
|
0006-Add-SONAME.patch
|
||||||
0007-Do-not-build-with-SSE2-enabled-on-i386.patch
|
0007-Do-not-build-with-SSE2-enabled-on-i386.patch
|
||||||
0008-Use-the-simd-everywhere-headers-from-libsimde-dev.patch
|
0008-Use-the-simd-everywhere-headers-from-libsimde-dev.patch
|
||||||
|
0009-v4l2loopback.patch
|
||||||
|
|
Loading…
Reference in a new issue