projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract common code out into kdm_for_screen()
[dcpomatic.git]
/
src
/
lib
/
dcp_examiner.h
diff --git
a/src/lib/dcp_examiner.h
b/src/lib/dcp_examiner.h
index da90924119cd75cf6a2a69fcf9af3ddef79b719c..21aa8d3ab58537de5c4446f899f94d4bcc4bb459 100644
(file)
--- a/
src/lib/dcp_examiner.h
+++ b/
src/lib/dcp_examiner.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2014-20
19
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-20
20
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-25,13
+25,14
@@
#include "video_examiner.h"
#include "audio_examiner.h"
#include "dcp.h"
#include "video_examiner.h"
#include "audio_examiner.h"
#include "dcp.h"
+#include <dcp/dcp_time.h>
class DCPContent;
class DCPExaminer : public DCP, public VideoExaminer, public AudioExaminer
{
public:
class DCPContent;
class DCPExaminer : public DCP, public VideoExaminer, public AudioExaminer
{
public:
- explicit DCPExaminer (boost::shared_ptr<const DCPContent>);
+ explicit DCPExaminer (boost::shared_ptr<const DCPContent>
, bool tolerant
);
bool has_video () const {
return _has_video;
bool has_video () const {
return _has_video;
@@
-118,6
+119,18
@@
public:
return _reel_lengths;
}
return _reel_lengths;
}
+ std::map<dcp::Marker, dcp::Time> markers () const {
+ return _markers;
+ }
+
+ std::vector<dcp::Rating> ratings () const {
+ return _ratings;
+ }
+
+ std::string content_version () const {
+ return _content_version;
+ }
+
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;
@@
-140,4
+153,7
@@
private:
dcp::ContentKind _content_kind;
std::string _cpl;
std::list<int64_t> _reel_lengths;
dcp::ContentKind _content_kind;
std::string _cpl;
std::list<int64_t> _reel_lengths;
+ std::map<dcp::Marker, dcp::Time> _markers;
+ std::vector<dcp::Rating> _ratings;
+ std::string _content_version;
};
};