X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_content.cc;h=798afbfc39dfc87aca74d50142b9076bd98b9770;hb=6bd8be029c72180a41d70e590bf2cb85a77317bf;hp=83b0d200cee33146c6f92b33a1de1bd0b34df0da;hpb=94201bd2a5a4cb391b7f2bdeba56b928fed7cfe1;p=dcpomatic.git diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index 83b0d200c..798afbfc3 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -17,9 +17,9 @@ */ +#include "dcp_subtitle_content.h" #include #include -#include "dcp_subtitle_content.h" #include "i18n.h" @@ -44,10 +44,11 @@ DCPSubtitleContent::DCPSubtitleContent (shared_ptr film, cxml::Const } void -DCPSubtitleContent::examine (shared_ptr job) +DCPSubtitleContent::examine (shared_ptr job, bool calculate_digest) { - Content::examine (job); + Content::examine (job, calculate_digest); dcp::SubtitleContent sc (path (0), false); + _subtitle_language = sc.language (); _length = DCPTime::from_seconds (sc.latest_subtitle_out().to_seconds ()); }