Message ID | 20230318234014.29506-11-dan.scally@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
diff --git a/src/apps/qcam/main_window.cpp b/src/apps/qcam/main_window.cpp index fb2db4aa..a9bb733e 100644 --- a/src/apps/qcam/main_window.cpp +++ b/src/apps/qcam/main_window.cpp @@ -367,12 +367,6 @@ int MainWindow::startCapture() /* Verify roles are supported. */ switch (roles.size()) { - case 1: - if (roles[0] != StreamRole::Viewfinder) { - qWarning() << "Only viewfinder supported for single stream"; - return -EINVAL; - } - break; case 2: if (roles[0] != StreamRole::Viewfinder || roles[1] != StreamRole::Raw) {
qcam currently will not allow a single stream with the Raw role. If the format output by a Camera's Raw configuration is supported by the viewfinder there doesn't seem to be a reason not to allow it. Remove the restriction. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> --- src/apps/qcam/main_window.cpp | 6 ------ 1 file changed, 6 deletions(-)