summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-16 10:31:18 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-16 10:31:18 +0100
commit4e6f15f602c605804f95c6b06af9bf79eaf2dde1 (patch)
tree00fb9eb482b3a770b99cb57a4f2e8968416124ec /src/lib/dcp_content.h
parentdd59755d86cdb1892bb0ba4d69af520cee4aa964 (diff)
Front-end to set up referencing of DCPs.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 5a0559df2..8f01bbc4e 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -34,6 +34,9 @@ class DCPContentProperty
{
public:
static int const CAN_BE_PLAYED;
+ static int const REFERENCE_VIDEO;
+ static int const REFERENCE_AUDIO;
+ static int const REFERENCE_SUBTITLE;
};
/** @class DCPContent
@@ -85,16 +88,22 @@ public:
bool can_be_played () const;
+ void set_reference_video (bool r);
+
bool reference_video () const {
boost::mutex::scoped_lock lm (_mutex);
return _reference_video;
}
+ void set_reference_audio (bool r);
+
bool reference_audio () const {
boost::mutex::scoped_lock lm (_mutex);
return _reference_audio;
}
+ void set_reference_subtitle (bool r);
+
bool reference_subtitle () const {
boost::mutex::scoped_lock lm (_mutex);
return _reference_subtitle;