summaryrefslogtreecommitdiff
path: root/src/dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-09 09:17:55 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-09 09:17:55 +0000
commitc73bf7010a07aa00dc79d45662b2da1494c8ffb0 (patch)
tree85789668d89ef71c362c2d758d87be1fb8510755 /src/dcp_reader.cc
parentbe2117b1ea71c535e03c02be962387829806b1da (diff)
Fix for changes to libdcp.
Diffstat (limited to 'src/dcp_reader.cc')
-rw-r--r--src/dcp_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp_reader.cc b/src/dcp_reader.cc
index b192b76..73a2276 100644
--- a/src/dcp_reader.cc
+++ b/src/dcp_reader.cc
@@ -31,7 +31,7 @@ using namespace sub;
static MetricTime
dcp_to_metric (libdcp::Time t)
{
- return MetricTime (t.h, t.m, t.s, t.t * 4);
+ return MetricTime (t.h, t.m, t.s, t.e * 1000 / t.tcr);
}
static Colour