diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-21 21:38:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-21 21:38:37 +0100 |
| commit | fd23bf276facab3892a00f010ac7e991bc79af09 (patch) | |
| tree | 2ee3c0e6cfd318bfc14c5fca7c29c9031a570a69 /src/dcp_time.cc | |
| parent | 3541f4c9bd91169e55a82b9fa46767b46ca06188 (diff) | |
Pick up effect and effect color.
Diffstat (limited to 'src/dcp_time.cc')
| -rw-r--r-- | src/dcp_time.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc index 900d7c6e..0cc6b264 100644 --- a/src/dcp_time.cc +++ b/src/dcp_time.cc @@ -35,7 +35,7 @@ Time::Time (int frame, int frames_per_second) , t (0) { float sec_float = float (frame) / frames_per_second; - t = (int (sec_float * 1000) % 1000) / 4; + t = (int (floor (sec_float * 1000)) % 1000) / 4; s = floor (sec_float); if (s > 60) { |
