Skip to content

Commit 204ca79

Browse files
committed
increase buffer count
1 parent 12ecd61 commit 204ca79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libcameracamera.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ bool LibCameraWorker::configureCamera(libcamera::StreamRole role) {
693693
}
694694

695695
cfg.pixelFormat = selectedFormat;
696-
cfg.bufferCount = 1;
696+
cfg.bufferCount = 4;
697697
mCurrentWidth = cfg.size.width;
698698
mCurrentHeight = cfg.size.height;
699699
qDebug() << "[INFO] Still capture default format:" << QString::fromStdString(cfg.pixelFormat.toString());

0 commit comments

Comments
 (0)