Fix failure on 1-frame-back seek (#604).
[dcpomatic.git] / src / lib / subrip_content.cc
index 8becbc4d03b6905d53493c6139ba83823a006462..9656ec184144261c8a830de31b188bf698aac814 100644 (file)
@@ -64,7 +64,7 @@ SubRipContent::examine (boost::shared_ptr<Job> job)
 
        boost::mutex::scoped_lock lm (_mutex);
        _length = len;
-       _fonts.push_back (shared_ptr<Font> (new Font (font_id)));
+       add_font (shared_ptr<Font> (new Font (font_id)));
 }
 
 string