Untested use of Frame for video/audio content lengths.
[dcpomatic.git] / src / lib / subrip.cc
index d622235ebc6eaf1f198b8b4f04e8c1900aea938d..f1986795270c4cf2b8680cd4145035abaadf5aa8 100644 (file)
@@ -47,5 +47,5 @@ SubRip::length () const
                return ContentTime ();
        }
 
-       return ContentTime::from_seconds (_subtitles.back().to.metric().get().all_as_seconds ());
+       return ContentTime::from_seconds (_subtitles.back().to.all_as_seconds ());
 }