diff options
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()) ); } |
