Make setting fmt non fatal.

This commit is contained in:
Isaac Connor 2021-02-17 16:34:19 -05:00
parent 0dc748acb5
commit cf6d2caef7
1 changed files with 0 additions and 1 deletions

View File

@ -2195,7 +2195,6 @@ int LocalCamera::PostCapture() {
v4l2_std_id stdId = standards[next_channel]; v4l2_std_id stdId = standards[next_channel];
if ( vidioctl(vid_fd, VIDIOC_S_STD, &stdId) < 0 ) { if ( vidioctl(vid_fd, VIDIOC_S_STD, &stdId) < 0 ) {
Error("Failed to set video format %d: %s", standards[next_channel], strerror(errno)); Error("Failed to set video format %d: %s", standards[next_channel], strerror(errno));
return -1;
} }
} }
if ( v4l2_data.bufptr ) { if ( v4l2_data.bufptr ) {