summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-05-26 15:04:47 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-09-30 14:01:01 +0200
commitdbe8d271e7959245f64056d26d95e94fe3ff737d (patch)
treed1df43f756460476cf0cd7ae783afc33cc7124b5 /src/qcam/main_window.cpp
parentb83ee94fe21d09f444454cc82e5586e7b196cf05 (diff)
libcamera: stream: Rename StillCaptureRaw to Raw
With the buffer copy removed from all pipelines for raw capture rename StillCaptureRaw to Raw to better describe the role. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.cpp')
-rw-r--r--src/qcam/main_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index 985743f3..ecb9dd66 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -380,7 +380,7 @@ int MainWindow::startCapture()
break;
case 2:
if (roles[0] != StreamRole::Viewfinder ||
- roles[1] != StreamRole::StillCaptureRaw) {
+ roles[1] != StreamRole::Raw) {
qWarning() << "Only viewfinder + raw supported for dual streams";
return -EINVAL;
}