diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:25:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:25:10 +0100 |
| commit | f07623551706b849190c84059bac455088f8eb1e (patch) | |
| tree | 81360f73c4a52702921270c605087d0c5f03e42e /src/lib/content_subtitle.cc | |
| parent | 5665f1503d751391768bd7ed5894f2ecd63ea8fc (diff) | |
Adapt for changes to libdcp API.
Diffstat (limited to 'src/lib/content_subtitle.cc')
| -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 c4cfafad5..4eed8b4b2 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 (subs.front().in().to_seconds()), - ContentTime::from_seconds (subs.front().out().to_seconds()) + ContentTime::from_seconds (subs.front().in().as_seconds()), + ContentTime::from_seconds (subs.front().out().as_seconds()) ); } |
