This commit is contained in:
Kamil Trzcinski
2022-04-04 18:01:16 +02:00
parent 6b846188d2
commit e7947bf064
3 changed files with 15 additions and 1 deletions

View File

@ -157,6 +157,7 @@ int buffer_list_stream(buffer_list_t *buf_list, bool do_on)
enum v4l2_buf_type type = buf_list->type;
E_XIOCTL(buf_list, buf_list->device->fd, do_on ? VIDIOC_STREAMON : VIDIOC_STREAMOFF, &type, "Cannot set streaming state");
buf_list->streaming = do_on;
return 0;