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:
parent
00881cae63
commit
278b78f012
|
@ -1895,6 +1895,7 @@ int LocalCamera::Capture( Image &image )
|
||||||
buffer = temp_buffer;
|
buffer = temp_buffer;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#if ZM_HAS_V4L1
|
||||||
case VIDEO_PALETTE_RGB24 :
|
case VIDEO_PALETTE_RGB24 :
|
||||||
{
|
{
|
||||||
if ( config.local_bgr_invert )
|
if ( config.local_bgr_invert )
|
||||||
|
@ -1913,6 +1914,7 @@ int LocalCamera::Capture( Image &image )
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif // ZM_HAS_V4L1
|
||||||
#if ZM_HAS_V4L2
|
#if ZM_HAS_V4L2
|
||||||
case V4L2_PIX_FMT_BGR24 :
|
case V4L2_PIX_FMT_BGR24 :
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue