diff options
-rw-r--r-- | dxr3syncbuffer.c | 10 | ||||
-rw-r--r-- | dxr3syncbuffer.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index 1f244db..d51e530 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -131,7 +131,6 @@ cDxr3SyncBuffer::cDxr3SyncBuffer(int frameCount, int frameLength, m_count = 0; m_nextFree = 0; m_next = 0; - m_lastPts = 0; m_bPutBlock = false; m_bGetBlock = false; m_bStartReceiver = false; @@ -232,14 +231,6 @@ cFixedLengthFrame* cDxr3SyncBuffer::Push(const uint8_t* pStart, int length, uint } } - if (pts == m_lastPts) - { - pts = 0; - } - else - { - m_lastPts = pts; - } lastIndex = m_nextFree; m_pBuffer[m_nextFree].CopyFrame(pStart, length, pts, type); m_pBuffer[m_nextFree].SetChannelCount(UNKNOWN_CHANNEL_COUNT); @@ -312,7 +303,6 @@ void cDxr3SyncBuffer::Clear(void) m_next = 0; m_nextFree = 0; m_count = 0; - m_lastPts = 0; m_bStartReceiver = false; m_bPollSync = false; if (m_bPutBlock) diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h index 7d84453..8220e63 100644 --- a/dxr3syncbuffer.h +++ b/dxr3syncbuffer.h @@ -132,7 +132,6 @@ private: bool m_bGetBlock; bool m_bStartReceiver; bool m_bStopped; - uint32_t m_lastPts; eDxr3DemuxMode m_demuxMode; cCondVar receiverStopped; |