Merge 1.0-seek and subtitle-content.
[dcpomatic.git] / src / lib / subrip.cc
index be2c6f666b269e9c9f0bd933093735d19cafecad..380a2ce2cb7e7757c2e1fc7472f571d72aa0a693 100644 (file)
@@ -123,10 +123,10 @@ SubRip::SubRip (shared_ptr<const SubRipContent> content)
        fclose (f);
 }
 
-Time
+ContentTime
 SubRip::convert_time (string t)
 {
-       Time r = 0;
+       ContentTime r = 0;
 
        vector<string> a;
        boost::algorithm::split (a, t, boost::is_any_of (":"));
@@ -225,7 +225,7 @@ SubRip::convert_content (list<string> t)
        return pieces;
 }
 
-Time
+ContentTime
 SubRip::length () const
 {
        if (_subtitles.empty ()) {