summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3interface.c8
-rw-r--r--dxr3interface.h2
2 files changed, 5 insertions, 5 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;
}
}
diff --git a/dxr3interface.h b/dxr3interface.h
index 1855001..22ac3b9 100644
--- a/dxr3interface.h
+++ b/dxr3interface.h
@@ -134,7 +134,7 @@ private:
int m_fdVideo; ///< filehandle for video fifo of dxr3 card
int m_fdAudio; ///< filehandle for audio fifo of dxr3 card
int m_fdSpu; ///< filehandle for spu fifo of dxr3 card
- uint32_t last_seen_pts;
+ uint32_t m_lastSeenPts;
// dxr3 clock
cDxr3SysClock* m_pClock; ///< clock used for sync