Allow fractional frames per second when computing Time from frames.
[libdcp.git] / src / dcp_time.cc
index 4e7ab6f2fa0cac106c840dbebc45ed093e1a34b2..ca99e584e35170b2c40ccc89705087e684dc39b6 100644 (file)
@@ -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_);
 }