diff options
-rw-r--r-- | src/apps/cam/camera_session.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apps/cam/camera_session.cpp b/src/apps/cam/camera_session.cpp index edc49b87..907c6074 100644 --- a/src/apps/cam/camera_session.cpp +++ b/src/apps/cam/camera_session.cpp @@ -307,6 +307,7 @@ int CameraSession::startCapture() { int ret; +#if 0 /* Identify the stream with the least number of buffers. */ unsigned int nbuffers = UINT_MAX; for (StreamConfiguration &cfg : *config_) { @@ -351,6 +352,7 @@ int CameraSession::startCapture() requests_.push_back(std::move(request)); } +#endif if (sink_) { ret = sink_->start(); @@ -368,6 +370,7 @@ int CameraSession::startCapture() return ret; } +#if 0 for (std::unique_ptr<Request> &request : requests_) { ret = queueRequest(request.get()); if (ret < 0) { @@ -387,6 +390,7 @@ int CameraSession::startCapture() std::cout << "cam" << cameraIndex_ << ": Capture until user interrupts by SIGINT" << std::endl; +#endif return 0; } |