summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-23 00:27:12 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-24 10:01:52 +0100
commitdf28b0e939bd0f12ae31e6f7ba94fa954496b3b8 (patch)
tree9dcdf8708fe678fc1419e90dc6fdc3f8da8fafb2 /src/lib/dcp_examiner.h
parent2f1d460898f40844d47d6a3b858449ac09d8b342 (diff)
Allow import of OV/VF DCPs (#906).
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 6fc041cc6..0558bfcfc 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -24,10 +24,11 @@
#include "video_examiner.h"
#include "audio_examiner.h"
+#include "dcp.h"
class DCPContent;
-class DCPExaminer : public VideoExaminer, public AudioExaminer
+class DCPExaminer : public DCP, public VideoExaminer, public AudioExaminer
{
public:
DCPExaminer (boost::shared_ptr<const DCPContent>);
@@ -60,6 +61,10 @@ public:
return _encrypted;
}
+ bool needs_assets () const {
+ return _needs_assets;
+ }
+
int audio_channels () const {
return _audio_channels.get_value_or (0);
}
@@ -84,6 +89,10 @@ public:
return _three_d;
}
+ std::string cpl () const {
+ return _cpl;
+ }
+
private:
boost::optional<double> _video_frame_rate;
boost::optional<dcp::Size> _video_size;
@@ -94,7 +103,9 @@ private:
std::string _name;
bool _has_subtitles;
bool _encrypted;
+ bool _needs_assets;
bool _kdm_valid;
boost::optional<dcp::Standard> _standard;
bool _three_d;
+ std::string _cpl;
};