[libcamera-devel,v4,26/31] HACK: cam: Allow camera with multiple streams

Message ID 20190320163055.22056-27-jacopo@jmondi.org
State Superseded
Headers show
Series
  • libcamera: ipu3: Add ImgU support + multiple streams
Related show

Commit Message

Jacopo Mondi March 20, 2019, 4:30 p.m. UTC
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
---
 src/cam/main.cpp | 8 --------
 1 file changed, 8 deletions(-)

Patch

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;