From: Carl Hetherington Date: Mon, 8 Jun 2015 13:34:03 +0000 (+0100) Subject: Default to enabling DCP/SubRip subtitles after they have been added. X-Git-Tag: v2.0.49~7^2~3 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=5ea436422329f6526d5fb04ada95fe9f46a26558 Default to enabling DCP/SubRip subtitles after they have been added. --- diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index c457e8474..742773043 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -53,6 +53,9 @@ DCPSubtitleContent::examine (shared_ptr job) Content::examine (job); shared_ptr sc = load (path (0)); + + /* Default to turning these subtitles on */ + set_use_subtitles (true); boost::mutex::scoped_lock lm (_mutex); diff --git a/src/lib/subrip_content.cc b/src/lib/subrip_content.cc index f9d184b9d..8becbc4d0 100644 --- a/src/lib/subrip_content.cc +++ b/src/lib/subrip_content.cc @@ -59,6 +59,9 @@ SubRipContent::examine (boost::shared_ptr job) 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 (new Font (font_id)));