From d980c3996d2b3c1428f47147e3e35a73b9aa4394 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 16 Feb 2009 18:18:03 +0000 Subject: [PATCH] Cosmetic git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2763 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_local_camera.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zm_local_camera.cpp b/src/zm_local_camera.cpp index f517adba8..12d807b0e 100644 --- a/src/zm_local_camera.cpp +++ b/src/zm_local_camera.cpp @@ -1622,13 +1622,12 @@ int LocalCamera::Capture( Image &image ) int LocalCamera::PostCapture() { 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 ) { #ifdef ZM_V4L2 if ( v4l_version == 2 ) { - if ( channel_count > 1 ) { int next_channel = (channel_index+1)%channel_count;