diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-10-06 10:37:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-10-06 10:37:19 +0100 |
| commit | 0ac8235fa4addb021c0e05a9c6c19a7d22097458 (patch) | |
| tree | b270e0817120ea506d2d0864c5db32cf8441934c /src/lib/dcp_content.cc | |
| parent | f71b2b1d19d4ed27c225b03dcea32271d9a00d6f (diff) | |
Add menu option to select CPL.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 7 |
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; +} |
