projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Round down when rebasing times.
[libdcp.git]
/
src
/
dcp_time.cc
diff --git
a/src/dcp_time.cc
b/src/dcp_time.cc
index 19ab2de105857c1414b5f486ea4823db9d078a31..3db449fb058a8a56f6c4800e72b79db3af72d671 100644
(file)
--- a/
src/dcp_time.cc
+++ b/
src/dcp_time.cc
@@
-291,5
+291,5
@@
Time::as_seconds () const
Time
Time::rebase (int tcr_) const
{
- return Time (h, m, s,
rint
(float (e) * tcr_ / tcr), tcr_);
+ return Time (h, m, s,
floor
(float (e) * tcr_ / tcr), tcr_);
}