diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-13 16:24:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-13 16:24:37 +0100 |
| commit | 9c1d9b7d6e8624e594d7fdf22ced0847741eb289 (patch) | |
| tree | 289580476eab44836485e3638074ca767786727e /src/dcp_time.h | |
| parent | 7146798d8638cddfe4b3773fb295b6c31c57c826 (diff) | |
4th parameter of time is ticks (1 tick = 4ms) not milliseconds
Diffstat (limited to 'src/dcp_time.h')
| -rw-r--r-- | src/dcp_time.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |
