Corrected rate to use RATE_SCALE and not SCALE_SCALE.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@935 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-03-09 17:03:46 +00:00
parent 3f5241c80a
commit d61514c15d
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ function zmaCheck( $monitor )
function createVideo( $event, $rate, $scale, $overwrite=0 )
{
$command = ZM_PATH_BIN."/zmvideo.pl -e ".$event['Id']." -r ".sprintf( "%.2f", ($rate/SCALE_SCALE) )." -s ".sprintf( "%.2f", ($scale/SCALE_SCALE) );
$command = ZM_PATH_BIN."/zmvideo.pl -e ".$event['Id']." -r ".sprintf( "%.2f", ($rate/RATE_SCALE) )." -s ".sprintf( "%.2f", ($scale/SCALE_SCALE) );
if ( $overwrite )
$command .= " -o";
$result = exec( $command, $output, $status );