Fixed non-standard for webcam properly
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2785 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
57f8127498
commit
b89b1cfc7c
|
@ -486,7 +486,7 @@ void LocalCamera::Initialise()
|
|||
}
|
||||
|
||||
stdId = standard;
|
||||
if ( vidioctl( vid_fd, VIDIOC_S_STD, &stdId ) < 0 )
|
||||
if ( (input.std != V4L2_STD_UNKNOWN) && vidioctl( vid_fd, VIDIOC_S_STD, &stdId ) < 0 )
|
||||
{
|
||||
Fatal( "Failed to set video standard %d: %s", standard, strerror(errno) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue