projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try larger menu bar icon on OS X.
[dcpomatic.git]
/
src
/
lib
/
dcp_content.h
diff --git
a/src/lib/dcp_content.h
b/src/lib/dcp_content.h
index f97045484f7318748093dd33d8c04505dd1c8f80..18d198fe89cbe3514bdbf26ff1d30ae14012b0be 100644
(file)
--- a/
src/lib/dcp_content.h
+++ b/
src/lib/dcp_content.h
@@
-32,10
+32,13
@@
class DCPContentProperty
{
public:
class DCPContentProperty
{
public:
- static int const CAN_BE_PLAYED;
+ static int const NEEDS_KDM;
+ static int const NEEDS_ASSETS;
static int const REFERENCE_VIDEO;
static int const REFERENCE_AUDIO;
static int const REFERENCE_SUBTITLE;
static int const REFERENCE_VIDEO;
static int const REFERENCE_AUDIO;
static int const REFERENCE_SUBTITLE;
+ static int const NAME;
+ static int const HAS_SUBTITLES;
};
class ContentPart;
};
class ContentPart;
@@
-114,6
+117,8
@@
public:
bool can_reference_subtitle (std::list<std::string> &) const;
bool can_reference_subtitle (std::list<std::string> &) const;
+ void set_cpl (std::string id);
+
boost::optional<std::string> cpl () const {
boost::mutex::scoped_lock lm (_mutex);
return _cpl;
boost::optional<std::string> cpl () const {
boost::mutex::scoped_lock lm (_mutex);
return _cpl;
@@
-132,6
+137,11
@@
private:
std::list<std::string>& why_not
) const;
std::list<std::string>& why_not
) const;
+ std::string name () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _name;
+ }
+
std::string _name;
/** true if our DCP is encrypted */
bool _encrypted;
std::string _name;
/** true if our DCP is encrypted */
bool _encrypted;
@@
-159,6
+169,8
@@
private:
* just use the only CPL.
*/
boost::optional<std::string> _cpl;
* just use the only CPL.
*/
boost::optional<std::string> _cpl;
+ /** List of the lengths of the reels in this DCP */
+ std::list<int64_t> _reel_lengths;
};
#endif
};
#endif