From 278b78f0121a992f8615e23fd9e6b40fe95c0509 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 17 Feb 2011 09:31:33 +0000 Subject: [PATCH] Added missing V4L1 conditional git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3304 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_local_camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_local_camera.cpp b/src/zm_local_camera.cpp index 74ab4c83d..e17fac4d6 100644 --- a/src/zm_local_camera.cpp +++ b/src/zm_local_camera.cpp @@ -1895,6 +1895,7 @@ int LocalCamera::Capture( Image &image ) buffer = temp_buffer; break; } +#if ZM_HAS_V4L1 case VIDEO_PALETTE_RGB24 : { if ( config.local_bgr_invert ) @@ -1913,6 +1914,7 @@ int LocalCamera::Capture( Image &image ) } break; } +#endif // ZM_HAS_V4L1 #if ZM_HAS_V4L2 case V4L2_PIX_FMT_BGR24 : {