return _state_version;
}
- std::string subtitle_language () const;
-
std::vector<NamedChannel> audio_output_names () const;
void repeat_content (ContentList, int);
CHAIN,
DISTRIBUTOR,
FACILITY,
- LUMINANCE
+ LUMINANCE,
+ SUBTITLE_LANGUAGES
};
return _reencode_j2k;
}
+ typedef std::map<dcp::Marker, dcpomatic::DCPTime> Markers;
+
boost::optional<dcpomatic::DCPTime> marker (dcp::Marker type) const;
- std::map<dcp::Marker, dcpomatic::DCPTime> markers () const {
+ Markers markers () const {
return _markers;
}
return _luminance;
}
+ std::vector<dcp::LanguageTag> subtitle_languages () const {
+ return _subtitle_languages;
+ }
+
/* SET */
void set_directory (boost::filesystem::path);
void set_facility (std::string f);
void set_distributor (std::string d);
void set_luminance (dcp::Luminance l);
+ void set_subtitle_language (dcp::LanguageTag language);
+ void unset_subtitle_language ();
+ void set_subtitle_languages (std::vector<dcp::LanguageTag> languages);
+
+ void add_ffoc_lfoc (Markers& markers) const;
/** Emitted when some property has of the Film is about to change or has changed */
mutable boost::signals2::signal<void (ChangeType, Property)> Change;
std::string _distributor;
std::string _facility;
dcp::Luminance _luminance;
+ std::vector<dcp::LanguageTag> _subtitle_languages;
int _state_version;