summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-10 00:46:17 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-10 00:46:17 +0000
commitfe26b2446708f5a9b71d7fe83ee445eedcced392 (patch)
tree41195dbba407809b776b8cfef034f799fa9daf39 /src/lib
parent772c2476431ebf42ac83b371cd7edbc9717248f9 (diff)
Update for libdcp changes.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content_subtitle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_subtitle.cc b/src/lib/content_subtitle.cc
index 39becf943..c4cfafad5 100644
--- a/src/lib/content_subtitle.cc
+++ b/src/lib/content_subtitle.cc
@@ -25,7 +25,7 @@ ContentTextSubtitle::period () const
/* XXX: assuming we have some subs and they are all at the same time */
DCPOMATIC_ASSERT (!subs.empty ());
return ContentTimePeriod (
- ContentTime::from_seconds (double (subs.front().in().to_ticks()) / 250),
- ContentTime::from_seconds (double (subs.front().out().to_ticks()) / 250)
+ ContentTime::from_seconds (subs.front().in().to_seconds()),
+ ContentTime::from_seconds (subs.front().out().to_seconds())
);
}