diff options
author | Henri Herscher <henri@oreka.org> | 2007-10-19 20:53:20 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-10-19 20:53:20 +0000 |
commit | c36c4e978f9725324712af259f8c0f0a6f3e9a79 (patch) | |
tree | 042db493564d2ce662fe776646a638f5a1d7e112 /orkbasecxx/CapturePort.cpp | |
parent | 7adfc380921d346102a738179f5d0afa83f8b297 (diff) |
CapturePorts cannot be hoovered anymore if they contain an active AudioTape. This was made necessary for the non-lookback mode where CapturePorts were destroyed on timeout before the session was stopped by the VoIP plugin. This was leading to start messages without associated stop messages.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@500 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/CapturePort.cpp')
-rw-r--r-- | orkbasecxx/CapturePort.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orkbasecxx/CapturePort.cpp b/orkbasecxx/CapturePort.cpp index 677d966..751840c 100644 --- a/orkbasecxx/CapturePort.cpp +++ b/orkbasecxx/CapturePort.cpp @@ -268,7 +268,7 @@ void CapturePort::AddCaptureEvent(CaptureEventRef eventRef) bool CapturePort::IsExpired(time_t now) { - if((now - m_lastUpdated) > (10*60)) // 10 minutes + if((now - m_lastUpdated) > (10*60) && m_audioTapeRef->m_state != AudioTape::StateActive) // 10 minutes { return true; } |