From: Carl Hetherington Date: Sat, 10 Jan 2015 00:46:17 +0000 (+0000) Subject: Update for libdcp changes. X-Git-Tag: v2.0.48~329 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=fe26b2446708f5a9b71d7fe83ee445eedcced392;p=dcpomatic.git Update for libdcp changes. --- 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()) ); }