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:
parent
cd7087aeed
commit
cd269623c1
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue