Added VARPLAY command to event stream.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2688 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-11-03 13:18:08 +00:00
parent 6d78b17d90
commit 55ce645728
1 changed files with 11 additions and 0 deletions

View File

@ -827,6 +827,17 @@ void EventStream::processCommand( const CmdMsg *msg )
replay_rate = ZM_RATE_BASE;
break;
}
case CMD_VARPLAY :
{
Debug( 1, "Got VARPLAY command" );
if ( paused )
{
// Clear paused flag
paused = false;
}
replay_rate = msg->msg_data[1];
break;
}
case CMD_STOP :
{
Debug( 1, "Got STOP command" );