From 5ea436422329f6526d5fb04ada95fe9f46a26558 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 8 Jun 2015 14:34:03 +0100 Subject: [PATCH 1/1] Default to enabling DCP/SubRip subtitles after they have been added. --- src/lib/dcp_subtitle_content.cc | 3 +++ src/lib/subrip_content.cc | 3 +++ 2 files changed, 6 insertions(+) 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))); -- 2.30.2