From 0ac8235fa4addb021c0e05a9c6c19a7d22097458 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 6 Oct 2016 10:37:19 +0100 Subject: Add menu option to select CPL. --- src/lib/dcp_content.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/dcp_content.cc') 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 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; +} -- cgit v1.2.3