projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing FFmpeg include; fixes #989.
[dcpomatic.git]
/
src
/
lib
/
dcp_examiner.h
diff --git
a/src/lib/dcp_examiner.h
b/src/lib/dcp_examiner.h
index 6fc041cc6a9713bcf1bc0a3926a6dffda1e1c9e0..0558bfcfce1bc688853f6f13cb7c5ef63f3c3757 100644
(file)
--- 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 "video_examiner.h"
#include "audio_examiner.h"
+#include "dcp.h"
class DCPContent;
class DCPContent;
-class DCPExaminer : public VideoExaminer, public AudioExaminer
+class DCPExaminer : public
DCP, public
VideoExaminer, public AudioExaminer
{
public:
DCPExaminer (boost::shared_ptr<const DCPContent>);
{
public:
DCPExaminer (boost::shared_ptr<const DCPContent>);
@@
-60,6
+61,10
@@
public:
return _encrypted;
}
return _encrypted;
}
+ bool needs_assets () const {
+ return _needs_assets;
+ }
+
int audio_channels () const {
return _audio_channels.get_value_or (0);
}
int audio_channels () const {
return _audio_channels.get_value_or (0);
}
@@
-84,6
+89,10
@@
public:
return _three_d;
}
return _three_d;
}
+ std::string cpl () const {
+ return _cpl;
+ }
+
private:
boost::optional<double> _video_frame_rate;
boost::optional<dcp::Size> _video_size;
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;
std::string _name;
bool _has_subtitles;
bool _encrypted;
+ bool _needs_assets;
bool _kdm_valid;
boost::optional<dcp::Standard> _standard;
bool _three_d;
bool _kdm_valid;
boost::optional<dcp::Standard> _standard;
bool _three_d;
+ std::string _cpl;
};
};