summaryrefslogtreecommitdiff
path: root/src/dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-10 01:17:25 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-10 01:17:25 +0000
commit1629853de5c5a9afc54835504dd4c4ef1ea8db3c (patch)
treee6d2aaee444488d8e07d7d969ba95130e5ef55f5 /src/dcp_reader.cc
parent85dc34ad9985b412550be12f1867a73e6108fe44 (diff)
Fix build for new 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 5ae0032..f63a893 100644
--- a/src/dcp_reader.cc
+++ b/src/dcp_reader.cc
@@ -33,7 +33,7 @@ using namespace sub;
static MetricTime
dcp_to_metric (dcp::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