diff options
Diffstat (limited to 'dxr3interface.c')
-rw-r--r-- | dxr3interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dxr3interface.c b/dxr3interface.c index e18d694..17dafcb 100644 --- a/dxr3interface.c +++ b/dxr3interface.c @@ -317,8 +317,9 @@ uint32_t cDxr3Interface::GetSysClock() const } // ================================== -int64_t cDxr3Interface::GetPts() { - return last_seen_pts << 1; +int64_t cDxr3Interface::GetPts() +{ + return m_lastSeenPts << 1; } // ================================== @@ -629,8 +630,7 @@ void cDxr3Interface::PlayVideoFrame(cFixedLengthFrame* pFrame, int times) SetAspectRatio(pFrame->GetAspectRatio()); uint32_t pts = pFrame->GetPts(); - if (pts > 0) - last_seen_pts = pts; + if (pts > 0) m_lastSeenPts = pts; } } |