From a6bd45aee85ab014f0a4bb0fcdd690a995d04f5b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Apr 2026 23:07:44 +0200 Subject: Fix error when re-examing DCP subtitle content (#3152). --- src/lib/dcp_subtitle_content.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index b285a78fe..86b811445 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -38,6 +38,7 @@ using std::list; using std::make_shared; using std::shared_ptr; using std::string; +using std::vector; using boost::optional; using namespace dcpomatic; @@ -71,6 +72,8 @@ DCPSubtitleContent::examine(shared_ptr film, shared_ptr job, bo boost::mutex::scoped_lock lm(_mutex); + text = vector>{make_shared(this, TextType::OPEN_SUBTITLE, TextType::OPEN_SUBTITLE)}; + /* Default to turning these subtitles on */ only_text()->set_use(true); -- cgit v1.2.3