Added missing V4L1 conditional

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3304 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2011-02-17 09:31:33 +00:00
parent 00881cae63
commit 278b78f012
1 changed files with 2 additions and 0 deletions

View File

@ -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 :
{