Mostly-merge master.
[dcpomatic.git] / src / lib / decoded.h
index 30fe899885e59e126abcf8d6c268d7bb7b496947..ebf4e57c1a724f6aa6ab69679c5b1f4528110134 100644 (file)
@@ -121,8 +121,8 @@ public:
 
        /* Assuming that all subs are at the same time */
        DecodedTextSubtitle (std::list<dcp::SubtitleString> s)
-               : Decoded (ContentTime::from_seconds (subs.front().in().to_ticks() * 4 / 1000.0))
-               , content_time_to (ContentTime::from_seconds (subs.front().out().to_ticks() * 4 / 1000.0))
+               : Decoded (ContentTime::from_seconds (s.front().in().to_ticks() * 4 / 1000.0))
+               , content_time_to (ContentTime::from_seconds (s.front().out().to_ticks() * 4 / 1000.0))
                , subs (s)
        {