Skip to content

Commit

Permalink
Fixed tdDrift in HLOG
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Apr 27, 2021
1 parent 32d3270 commit c919802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtcore/tsbpd_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ bool CTsbpdTime::addDriftSample(uint32_t usPktTimestamp,
m_tsTsbPdTimeBase += overdrift;

HLOGC(brlog.Debug,
log << "DRIFT=" << FormatDuration(iDrift) << " AVG=" << (m_DriftTracer.drift() / 1000.0)
log << "DRIFT=" << FormatDuration(tdDrift) << " AVG=" << (m_DriftTracer.drift() / 1000.0)
<< "ms, TB: " << FormatTime(oldbase) << " EXCESS: " << FormatDuration(overdrift)
<< " UPDATED TO: " << FormatTime(m_tsTsbPdTimeBase));
}
else
{
HLOGC(brlog.Debug,
log << "DRIFT=" << FormatDuration(iDrift) << " TB REMAINS: " << FormatTime(m_tsTsbPdTimeBase));
log << "DRIFT=" << FormatDuration(tdDrift) << " TB REMAINS: " << FormatTime(m_tsTsbPdTimeBase));
}

w_udrift = tdDrift;
Expand Down

0 comments on commit c919802

Please sign in to comment.