git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2763 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2009-02-16 18:18:03 +00:00
parent bfc329b96a
commit d980c3996d
1 changed files with 1 additions and 2 deletions

View File

@ -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;