device: make device_open_buffer_list_capture
to use buffer_format_t
This commit is contained in:
@ -104,7 +104,7 @@ int camera_configure_output(camera_t *camera, const char *name, unsigned target_
|
||||
*device = device_v4l2_open(name, device_info->path);
|
||||
|
||||
buffer_list_t *output = device_open_buffer_list_output(*device, src_capture);
|
||||
buffer_list_t *capture = device_open_buffer_list_capture(*device, NULL, output, 0, 0, chosen_format, true);
|
||||
buffer_list_t *capture = device_open_buffer_list_capture2(*device, NULL, output, chosen_format, true);
|
||||
|
||||
if (!capture) {
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user