diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-13 21:43:02 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-13 21:43:02 +0000 |
| commit | 38ff2954f40131a12aa8a037b9fc6c4abd3894b9 (patch) | |
| tree | bfadae4e6d2c59b67aa64ec98288fb34f8c6ac90 /src/dcp_time.cc | |
| parent | 1bcf0b11634647a2a6b99330b2854704e5c1bc38 (diff) | |
Allow fractional frames per second when computing Time from frames.
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 4e7ab6f2..ca99e584 100644 --- 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_); } |
