From 9c1d9b7d6e8624e594d7fdf22ced0847741eb289 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 13 Aug 2012 16:24:37 +0100 Subject: 4th parameter of time is ticks (1 tick = 4ms) not milliseconds --- src/dcp_time.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dcp_time.h') diff --git a/src/dcp_time.h b/src/dcp_time.h index 22dcec0f..a611cd89 100644 --- a/src/dcp_time.h +++ b/src/dcp_time.h @@ -25,19 +25,19 @@ namespace libdcp { class Time { public: - Time () : h (0), m (0), s (0), ms (0) {} + Time () : h (0), m (0), s (0), t (0) {} Time (int frame, int frames_per_second); - Time (int h_, int m_, int s_, int ms_) + Time (int h_, int m_, int s_, int t_) : h (h_) , m (m_) , s (s_) - , ms (ms_) + , t (t_) {} int h; int m; int s; - int ms; + int t; }; extern bool operator== (Time const & a, Time const & b); -- cgit v1.2.3