summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-09 23:34:03 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-09 23:34:03 +0100
commit95230fe5db8aeda47aca18f613bd4309a17ee427 (patch)
tree355691323d33ee77884b009046277a4d8740e19c /src/lib/dcp_content.h
parent8fddf6164257d8776315d8d8b4568a23ed94babb (diff)
Copy some more metadata from DCP into the film when requested.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 80b7f64a8..bac051eea 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -223,6 +223,22 @@ public:
void check_font_ids();
+ boost::optional<std::string> chain() const {
+ return _chain;
+ }
+
+ boost::optional<std::string> distributor() const {
+ return _distributor;
+ }
+
+ boost::optional<std::string> facility() const {
+ return _facility;
+ }
+
+ boost::optional<dcp::Luminance> luminance() const {
+ return _luminance;
+ }
+
std::list<dcpomatic::DCPTimePeriod> reels(std::shared_ptr<const Film> film) const;
private:
@@ -274,6 +290,11 @@ private:
boost::optional<int> _active_audio_channels;
boost::optional<dcp::LanguageTag> _audio_language;
+
+ boost::optional<std::string> _chain;
+ boost::optional<std::string> _distributor;
+ boost::optional<std::string> _facility;
+ boost::optional<dcp::Luminance> _luminance;
};