std::shared_ptr
[dcpomatic.git] / src / lib / dcp_subtitle_content.cc
index f8d12d4e4a4c1130c932846aca7bbb40d0f6a591..d58779ee2da0835cbc19c0e65259703ddf02a0ef 100644 (file)
@@ -33,8 +33,8 @@
 
 using std::string;
 using std::list;
-using boost::shared_ptr;
-using boost::dynamic_pointer_cast;
+using std::shared_ptr;
+using std::dynamic_pointer_cast;
 using dcp::raw_convert;
 using namespace dcpomatic;
 
@@ -69,12 +69,6 @@ DCPSubtitleContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
        /* Default to turning these subtitles on */
        only_text()->set_use (true);
 
-       if (iop) {
-               only_text()->set_language (iop->language ());
-       } else if (smpte) {
-               only_text()->set_language (smpte->language().get_value_or (""));
-       }
-
        _length = ContentTime::from_seconds (sc->latest_subtitle_out().as_seconds ());
 
        sc->fix_empty_font_ids ();