Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit e6d758f

Browse files
committed
Specify the stride for libcamera
1 parent f2bd013 commit e6d758f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/libcam.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ int cls_libcam::cam_start_config()
581581
config->at(0).size.width = camctx->conf->width;
582582
config->at(0).size.height = camctx->conf->height;
583583
config->at(0).bufferCount = 1;
584+
config->at(0).stride = 0;
584585

585586
retcd = config->validate();
586587
if (retcd == CameraConfiguration::Adjusted) {

0 commit comments

Comments
 (0)