summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-06 21:16:54 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-06 21:16:54 +0200
commitcfa0a559a8feec79d1e8acd20d4b11ef8cd01513 (patch)
treeee0b1bd5b6621046693cc530c94a87844b43fee7 /src/lib/dcp_examiner.h
parentc3fc0d69e0563099d40e0a4ab787c0d3264f865b (diff)
Store the video encoding of a DCP in the metadata (J2K/MPEG2).
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index d6baf7d50..28b59ee2f 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -130,6 +130,10 @@ public:
return _standard;
}
+ VideoEncoding video_encoding() const {
+ return _video_encoding;
+ }
+
bool three_d () const {
return _three_d;
}
@@ -200,6 +204,7 @@ private:
bool _needs_assets = false;
bool _kdm_valid = false;
boost::optional<dcp::Standard> _standard;
+ VideoEncoding _video_encoding = VideoEncoding::JPEG2000;
bool _three_d = false;
boost::optional<dcp::ContentKind> _content_kind;
std::string _cpl;