summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-07 00:19:53 +0100
committerCarl Hetherington <cth@carlh.net>2016-10-07 00:19:53 +0100
commita3a38dcdab89d3c7fa21917ea7caec82d1586035 (patch)
treefb3a4ad79dd262f873bb7b3bfc0f918c19d56714 /src/lib/dcp_content.cc
parentea9ac8aa0a3ccf327e3ba2565542ae757bce82c2 (diff)
parent2268783ea44e97e118d6fd164618fcf736563e29 (diff)
Merge.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index 1f844541c..0d36118e7 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -490,3 +490,10 @@ DCPContent::use_template (shared_ptr<const Content> c)
_reference_audio = dc->_reference_audio;
_reference_subtitle = dc->_reference_subtitle;
}
+
+void
+DCPContent::set_cpl (string id)
+{
+ boost::mutex::scoped_lock lm (_mutex);
+ _cpl = id;
+}