projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add workaround for 3D DCPs whose picture MXFs are labelled (within the MXF) as mono.
[dcpomatic.git]
/
src
/
lib
/
dcp_content.h
diff --git
a/src/lib/dcp_content.h
b/src/lib/dcp_content.h
index be12ba5346eb7f81fa85dd75eec0df625818f8d3..26c1802bacb748557aa18ad60b827ce4686e541e 100644
(file)
--- a/
src/lib/dcp_content.h
+++ b/
src/lib/dcp_content.h
@@
-104,6
+104,8
@@
public:
return _reference_video;
}
return _reference_video;
}
+ bool can_reference_video (std::list<std::string> &) const;
+
void set_reference_audio (bool r);
bool reference_audio () const {
void set_reference_audio (bool r);
bool reference_audio () const {
@@
-111,6
+113,8
@@
public:
return _reference_audio;
}
return _reference_audio;
}
+ bool can_reference_audio (std::list<std::string> &) const;
+
void set_reference_subtitle (bool r);
bool reference_subtitle () const {
void set_reference_subtitle (bool r);
bool reference_subtitle () const {
@@
-118,11
+122,15
@@
public:
return _reference_subtitle;
}
return _reference_subtitle;
}
+ bool can_reference_subtitle (std::list<std::string> &) const;
+
protected:
protected:
- void add_properties (std::list<
std::pair<std::string, std::string>
>& p) const;
+ void add_properties (std::list<
UserProperty
>& p) const;
private:
void read_directory (boost::filesystem::path);
private:
void read_directory (boost::filesystem::path);
+ std::list<DCPTimePeriod> reels () const;
+ template <class T> bool can_reference (std::string overlapping, std::list<std::string>& why_not) const;
std::string _name;
bool _has_subtitles;
std::string _name;
bool _has_subtitles;