summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
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;
};