From 2e6bc751126d89cc23220040a10ee4a29e0446ab Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 23 May 2006 16:11:42 +0000 Subject: [PATCH] Bug 342 - Increased number of available device channels. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1988 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_html_view_monitor.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/zm_html_view_monitor.php b/web/zm_html_view_monitor.php index 5f0f8051a..381bc1a9f 100644 --- a/web/zm_html_view_monitor.php +++ b/web/zm_html_view_monitor.php @@ -127,7 +127,9 @@ if ( !empty($preset) ) } $device_formats = array( "PAL"=>0, "NTSC"=>1, "SECAM"=>2, "AUTO"=>3, "FMT4"=>4, "FMT5"=>5, "FMT6"=>6, "FMT7"=>7 ); -$device_channels = array( "0"=>0, "1"=>1, "2"=>2, "3"=>3 ); +$device_channels = array(); +for ( $i = 0; $i <= 15; $i++ ) + $device_channels["$i"] = $i; $local_palettes = array( $zmSlangGrey=>1, "RGB24"=>4, "RGB565"=>3, "RGB555"=>6, "YUV422"=>7, "YUYV"=>8, "YUV422P"=>13, "YUV420P"=>15 ); $remote_palettes = $file_palettes = array( $zmSlang8BitGrey=>1, $zmSlang24BitColour=>4 ); $orientations = array( $zmSlangNormal=>'0', $zmSlangRotateRight=>'90', $zmSlangInverted=>'180', $zmSlangRotateLeft=>'270', $zmSlangFlippedHori=>'hori', $zmSlangFlippedVert=>'vert' );