From fe26b2446708f5a9b71d7fe83ee445eedcced392 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Jan 2015 00:46:17 +0000 Subject: Update for libdcp changes. --- src/lib/content_subtitle.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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()) ); } -- cgit v1.2.3