projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add menu option to select CPL.
[dcpomatic.git]
/
src
/
lib
/
dcp_content.cc
diff --git
a/src/lib/dcp_content.cc
b/src/lib/dcp_content.cc
index 1f844541c607820feee43d5a8b16da94be6dc239..0d36118e716adbd720bedfb46655a34476d70dcb 100644
(file)
--- 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;
+}