summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.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_examiner.h
parent8fddf6164257d8776315d8d8b4568a23ed94babb (diff)
Copy some more metadata from DCP into the film when requested.
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 8dd865762..7e73a8b09 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -200,6 +200,22 @@ public:
return _has_non_zero_entry_point;
}
+ 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;
+ }
+
void add_fonts(std::shared_ptr<TextContent> content);
private:
@@ -243,6 +259,10 @@ private:
dcp::Fraction _atmos_edit_rate;
EnumIndexedVector<bool, TextType> _has_non_zero_entry_point;
VideoRange _video_range = VideoRange::FULL;
+ boost::optional<std::string> _chain;
+ boost::optional<std::string> _distributor;
+ boost::optional<std::string> _facility;
+ boost::optional<dcp::Luminance> _luminance;
struct Font
{