Cosmetic
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2763 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
bfc329b96a
commit
d980c3996d
|
@ -1622,13 +1622,12 @@ int LocalCamera::Capture( Image &image )
|
||||||
int LocalCamera::PostCapture()
|
int LocalCamera::PostCapture()
|
||||||
{
|
{
|
||||||
Debug( 2, "Post-capturing" );
|
Debug( 2, "Post-capturing" );
|
||||||
// Reque the buffer unless we need to switch or are a duplicate camera on a channel
|
// Requeue the buffer unless we need to switch or are a duplicate camera on a channel
|
||||||
if ( channel_count == 1 || channel_prime )
|
if ( channel_count == 1 || channel_prime )
|
||||||
{
|
{
|
||||||
#ifdef ZM_V4L2
|
#ifdef ZM_V4L2
|
||||||
if ( v4l_version == 2 )
|
if ( v4l_version == 2 )
|
||||||
{
|
{
|
||||||
|
|
||||||
if ( channel_count > 1 )
|
if ( channel_count > 1 )
|
||||||
{
|
{
|
||||||
int next_channel = (channel_index+1)%channel_count;
|
int next_channel = (channel_index+1)%channel_count;
|
||||||
|
|
Loading…
Reference in New Issue