libcamera: configure RAW to force correct resolution

This commit is contained in:
Kamil Trzcinski
2023-02-22 23:00:17 +01:00
parent e2e5762b2b
commit 529d72b105
4 changed files with 31 additions and 10 deletions

View File

@ -19,7 +19,7 @@ buffer_list_t *buffer_list_open(const char *name, int index, struct device_s *de
buf_list->index = index;
int got_bufs = dev->hw->buffer_list_open(buf_list);
if (got_bufs <= 0) {
if (got_bufs < 0) {
goto error;
}