summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-20 21:22:52 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-20 21:22:52 +0100
commitd8d7ddd4c39e3ea347afd1fccc037d8b0a31bc87 (patch)
treea9071c33d3a6e60f970e5e6c08c70a9efa142838 /src/lib/dcp_examiner.h
parent72ae435a9b2a554d5de7280ad51793ed6a835f42 (diff)
Basic support for decryption of imported DCPs.
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 5b510743b..03d43d0f6 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -47,6 +47,10 @@ public:
return _has_subtitles;
}
+ bool encrypted () const {
+ return _encrypted;
+ }
+
int audio_channels () const {
return _audio_channels.get_value_or (0);
}
@@ -59,6 +63,10 @@ public:
return _audio_frame_rate.get_value_or (48000);
}
+ bool kdm_valid () const {
+ return _kdm_valid;
+ }
+
private:
boost::optional<float> _video_frame_rate;
boost::optional<dcp::Size> _video_size;
@@ -68,4 +76,6 @@ private:
ContentTime _audio_length;
std::string _name;
bool _has_subtitles;
+ bool _encrypted;
+ bool _kdm_valid;
};