#include "subrip.h"
#include "film.h"
#include "font.h"
-#include <dcp/raw_convert.h>
+#include "raw_convert.h"
#include "i18n.h"
using std::string;
using std::cout;
-using dcp::raw_convert;
using boost::shared_ptr;
using boost::lexical_cast;
shared_ptr<const Film> film = _film.lock ();
DCPOMATIC_ASSERT (film);
-
+
DCPTime len (s.length (), film->active_frame_rate_change (position ()));
+ /* Default to turning these subtitles on */
+ set_use_subtitles (true);
+
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