summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-03-23 18:33:57 +0000
committerscop <scop>2005-03-23 18:33:57 +0000
commit8bda0857c1c41daedc82046e18f35a331148588c (patch)
tree0042958bd72f8b4c2ecf208d6412327b34742c86
parente911c6aee7862de6e637a32959226e85c00b3e4b (diff)
downloadvdr-plugin-dxr3-8bda0857c1c41daedc82046e18f35a331148588c.tar.gz
vdr-plugin-dxr3-8bda0857c1c41daedc82046e18f35a331148588c.tar.bz2
Coding style tweak.
-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