[Opalvoip-svn] SF.net SVN: opalvoip:[33028] opal/trunk/src/rtp/rtp_session.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2014-10-23 10:28:22
|
Revision: 33028 http://sourceforge.net/p/opalvoip/code/33028 Author: rjongbloed Date: 2014-10-23 10:28:18 +0000 (Thu, 23 Oct 2014) Log Message: ----------- Make sure packet absolute time set to invalid if no RTCP absolute time available. Modified Paths: -------------- opal/trunk/src/rtp/rtp_session.cxx Modified: opal/trunk/src/rtp/rtp_session.cxx =================================================================== --- opal/trunk/src/rtp/rtp_session.cxx 2014-10-23 08:12:34 UTC (rev 33027) +++ opal/trunk/src/rtp/rtp_session.cxx 2014-10-23 10:28:18 UTC (rev 33028) @@ -591,8 +591,10 @@ #endif } + PTime absTime(0); if (m_syncRealTime.IsValid()) - frame.SetAbsoluteTime(m_syncRealTime + PTimeInterval((frame.GetTimestamp() - m_syncTimestamp)/m_session.m_timeUnits)); + absTime = m_syncRealTime + PTimeInterval((frame.GetTimestamp() - m_syncTimestamp)/m_session.m_timeUnits); + frame.SetAbsoluteTime(absTime); #if OPAL_RTCP_XR if (m_metrics != NULL) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |