We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54bdd9d commit 0464c31Copy full SHA for 0464c31
device/libcamera/buffer_list.cc
@@ -92,6 +92,8 @@ int libcamera_buffer_list_open(buffer_list_t *buf_list)
92
}
93
if (buf_list->fmt.bytesperline > 0) {
94
configuration.stride = buf_list->fmt.bytesperline;
95
+ } else {
96
+ configuration.stride = 0;
97
98
if (buf_list->fmt.nbufs > 0) {
99
configuration.bufferCount = buf_list->fmt.nbufs;
0 commit comments