Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / lib / isdcf_metadata.h
index 5d0e865fb476a287f0935e4c8a8cca169d3c4fc2..f54565f5d93ff5e4d6b3a392065cada5f8b8ae43 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -39,14 +39,15 @@ public:
                , two_d_version_of_three_d (false)
        {}
 
-       ISDCFMetadata (cxml::ConstNodePtr);
+       explicit ISDCFMetadata (cxml::ConstNodePtr);
 
        void as_xml (xmlpp::Node *) const;
        void read_old_metadata (std::string, std::string);
 
        int content_version;
        std::string audio_language;
-       std::string subtitle_language;
+       /** if set, this overrides any languages specified in individual Content objects */
+       boost::optional<std::string> subtitle_language;
        std::string territory;
        std::string rating;
        std::string studio;