diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-10 00:46:17 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-10 00:46:17 +0000 |
| commit | fe26b2446708f5a9b71d7fe83ee445eedcced392 (patch) | |
| tree | 41195dbba407809b776b8cfef034f799fa9daf39 /src | |
| parent | 772c2476431ebf42ac83b371cd7edbc9717248f9 (diff) | |
Update for libdcp changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/content_subtitle.cc | 4 |
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()) ); } |
