Add menu option to select CPL.
[dcpomatic.git] / src / lib / dcp_content.cc
index 1f844541c607820feee43d5a8b16da94be6dc239..0d36118e716adbd720bedfb46655a34476d70dcb 100644 (file)
@@ -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;
+}