Fixed issue with single frame streaming not working.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2234 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2007-11-11 15:57:54 +00:00
parent f0e2175340
commit 911920dc71
1 changed files with 7 additions and 0 deletions

View File

@ -2899,6 +2899,13 @@ void MonitorStream::sendFrame( Image *image, struct timeval *timestamp )
void MonitorStream::runStream()
{
if ( type == STREAM_SINGLE )
{
// Not yet migrated over to stream class
monitor->SingleImage( scale );
return;
}
openComms();
checkInitialised();