projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow fractional frames per second when computing Time from frames.
[libdcp.git]
/
src
/
dcp_time.cc
diff --git
a/src/dcp_time.cc
b/src/dcp_time.cc
index 4e7ab6f2fa0cac106c840dbebc45ed093e1a34b2..ca99e584e35170b2c40ccc89705087e684dc39b6 100644
(file)
--- a/
src/dcp_time.cc
+++ b/
src/dcp_time.cc
@@
-33,7
+33,7
@@
using namespace std;
using namespace boost;
using namespace dcp;
-Time::Time (int frame,
int
frames_per_second, int tcr_)
+Time::Time (int frame,
double
frames_per_second, int tcr_)
{
set (double (frame) / frames_per_second, tcr_);
}