[libcamera-devel] [PATCH v4 26/31] HACK: cam: Allow camera with multiple streams
Jacopo Mondi
jacopo at jmondi.org
Wed Mar 20 17:30:50 CET 2019
Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
src/cam/main.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index 1ca7862bf237..9257f391988b 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -240,14 +240,6 @@ int main(int argc, char **argv)
goto out;
}
- const std::set<Stream *> &streams = camera->streams();
- if (streams.size() != 1) {
- std::cout << "Camera has " << streams.size()
- << " streams, only 1 is supported"
- << std::endl;
- goto out;
- }
-
if (camera->acquire()) {
std::cout << "Failed to acquire camera" << std::endl;
goto out;
--
2.21.0
More information about the libcamera-devel
mailing list