A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/cc62e98922170ced72f14127fd67cb209d2d8bfb below:

[core] Fixed CRcvBufferNew::strFullnessState(..). · Haivision/srt@cc62e98 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed Original file line number Diff line number Diff line change

@@ -1002,11 +1002,11 @@ string CRcvBufferNew::strFullnessState(int iFirstUnackSeqNo, const time_point& t

1002 1002

ss << " pkts. ";

1003 1003

if (m_tsbpd.isEnabled() && m_iMaxPosInc > 0)

1004 1004

{

1005 +

const PacketInfo nextValidPkt = getFirstValidPacketInfo();

1005 1006

ss << " (TSBPD ready in ";

1006 -

if (m_entries[m_iStartPos].pUnit)

1007 +

if (!is_zero(nextValidPkt.tsbpd_time))

1007 1008

{

1008 -

const uint32_t usPktTimestamp = m_entries[m_iStartPos].pUnit->m_Packet.getMsgTimeStamp();

1009 -

ss << count_milliseconds(m_tsbpd.getPktTsbPdTime(usPktTimestamp) - tsNow);

1009 +

ss << count_milliseconds(nextValidPkt.tsbpd_time - tsNow);

1010 1010

}

1011 1011

else

1012 1012

{

@@ -1017,7 +1017,7 @@ string CRcvBufferNew::strFullnessState(int iFirstUnackSeqNo, const time_point& t

1017 1017

if (m_entries[iLastPos].pUnit)

1018 1018

{

1019 1019

ss << ":";

1020 -

const uint32_t usPktTimestamp = m_entries[m_iStartPos].pUnit->m_Packet.getMsgTimeStamp();

1020 +

const uint32_t usPktTimestamp = m_entries[iLastPos].pUnit->m_Packet.getMsgTimeStamp();

1021 1021

ss << count_milliseconds(m_tsbpd.getPktTsbPdTime(usPktTimestamp) - tsNow);

1022 1022

ss << " ms";

1023 1023

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4