Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multimedia/webcamoid: Update 8.8.0 → 9.0.0-204
PR: 270251 Reported by: diizzy@
- Loading branch information
Showing
5 changed files
with
94 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1613620488 | ||
SHA256 (webcamoid-webcamoid-8.8.0_GH0.tar.gz) = 77ed77cbaf57180247485646b81af30edcc89ee545bc241c23d8bd648464bf15 | ||
SIZE (webcamoid-webcamoid-8.8.0_GH0.tar.gz) = 8887888 | ||
TIMESTAMP = 1681405066 | ||
SHA256 (webcamoid-webcamoid-9.0.0-204-g2b708bfb0_GH0.tar.gz) = 45b5e48a61fbd42e91c642a92af7ecea3f0e5dc801a2abcb10c330eba97d33d8 | ||
SIZE (webcamoid-webcamoid-9.0.0-204-g2b708bfb0_GH0.tar.gz) = 9280268 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...imedia/webcamoid/files/patch-libAvKys_Plugins_VirtualCamera_src_v4l2lb_src_vcamv4l2lb.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- libAvKys/Plugins/VirtualCamera/src/v4l2lb/src/vcamv4l2lb.cpp.orig 2023-04-04 08:08:44 UTC | ||
+++ libAvKys/Plugins/VirtualCamera/src/v4l2lb/src/vcamv4l2lb.cpp | ||
@@ -1283,6 +1283,7 @@ VCamV4L2LoopBackPrivate::VCamV4L2LoopBackPrivate(VCamV | ||
self(self) | ||
{ | ||
this->initDefaultFormats(); | ||
+#if !defined(FREEBSD_BUG224011_VIDEO0) | ||
this->m_fsWatcher = new QFileSystemWatcher({"/dev"}, self); | ||
QObject::connect(this->m_fsWatcher, | ||
&QFileSystemWatcher::directoryChanged, | ||
@@ -1290,12 +1291,15 @@ VCamV4L2LoopBackPrivate::VCamV4L2LoopBackPrivate(VCamV | ||
[this] () { | ||
this->updateDevices(); | ||
}); | ||
+#endif | ||
this->updateDevices(); | ||
} | ||
|
||
VCamV4L2LoopBackPrivate::~VCamV4L2LoopBackPrivate() | ||
{ | ||
+#if !defined(FREEBSD_BUG224011_VIDEO0) | ||
delete this->m_fsWatcher; | ||
+#endif | ||
} | ||
|
||
int VCamV4L2LoopBackPrivate::xioctl(int fd, ulong request, void *arg) const | ||
@@ -2351,11 +2355,13 @@ void VCamV4L2LoopBackPrivate::updateDevices() | ||
this->m_devicesFormats = devicesFormats; | ||
|
||
if (this->m_devices != devices) { | ||
+#if !defined(FREEBSD_BUG224011_VIDEO0) | ||
if (!this->m_devices.isEmpty()) | ||
this->m_fsWatcher->removePaths(this->m_devices); | ||
+#endif | ||
|
||
this->m_devices = devices; | ||
-#ifndef Q_OS_BSD4 | ||
+#if !defined(FREEBSD_BUG224011_VIDEO0) | ||
if (!this->m_devices.isEmpty()) | ||
this->m_fsWatcher->addPaths(this->m_devices); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters