Allow sources with no video standard defined.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2739 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2009-02-04 14:44:30 +00:00
parent cd7087aeed
commit cd269623c1
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ void LocalCamera::Initialise()
Fatal( "Failed to enumerate input %d: %s", channel, strerror(errno) ); Fatal( "Failed to enumerate input %d: %s", channel, strerror(errno) );
} }
if ( !(input.std & format) ) if ( (input.std != V4L2_STD_UNKNOWN) && ((input.std & format) == V4L2_STD_UNKNOWN) )
{ {
Fatal( "Device does not support video standard %d", format ); Fatal( "Device does not support video standard %d", format );
} }