From 55ce64572827099e143ca06bbc9b750bbd3a8e5d Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 3 Nov 2008 13:18:08 +0000 Subject: [PATCH] Added VARPLAY command to event stream. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2688 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_event.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index 9795aa79a..e678b60a8 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -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" );