hosts/skycam: working stream with go2rtc
This commit is contained in:
29
pkgs/libcamera-rpi/patches/libcamera-no-timeout.patch
Normal file
29
pkgs/libcamera-rpi/patches/libcamera-no-timeout.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 98918c4efdcf03701908bb756f252ba11b59490b Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Holt <jordan@vimium.com>
|
||||
Date: Sat, 21 Jun 2025 18:41:54 +0100
|
||||
Subject: [PATCH] libcamera no timeout
|
||||
|
||||
---
|
||||
src/libcamera/ipc_pipe_unixsocket.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/libcamera/ipc_pipe_unixsocket.cpp b/src/libcamera/ipc_pipe_unixsocket.cpp
|
||||
index 668ec73b..faf7e2a5 100644
|
||||
--- a/src/libcamera/ipc_pipe_unixsocket.cpp
|
||||
+++ b/src/libcamera/ipc_pipe_unixsocket.cpp
|
||||
@@ -130,11 +130,13 @@ int IPCPipeUnixSocket::call(const IPCUnixSocket::Payload &message,
|
||||
/* \todo Make this less dangerous, see IPCPipe::sendSync() */
|
||||
timeout.start(2000ms);
|
||||
while (!iter->second.done) {
|
||||
+ #if 0
|
||||
if (!timeout.isRunning()) {
|
||||
LOG(IPCPipe, Error) << "Call timeout!";
|
||||
callData_.erase(iter);
|
||||
return -ETIMEDOUT;
|
||||
}
|
||||
+ #endif
|
||||
|
||||
Thread::current()->eventDispatcher()->processEvents();
|
||||
}
|
||||
--
|
||||
2.49.0
|
Reference in New Issue
Block a user