diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-09 10:17:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-09 10:17:49 +0100 |
| commit | 0dc52cd6e69890cd8a2c539e80389ea8bac5cc3c (patch) | |
| tree | 0dbf929df2936893ce4ba952fffc54e2c1303f37 /src/lib/dcp_content.cc | |
| parent | 2cf3da72a017eebf741dfb9a5ec158df94a4e7b7 (diff) | |
Fix DCP name in editor; fix use of DCP entry points.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 663846e26..3d4a48b89 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -56,14 +56,18 @@ DCPContent::examine (shared_ptr<Job> job) { job->set_progress_unknown (); Content::examine (job); - shared_ptr<VideoExaminer> examiner (new DCPExaminer (shared_from_this ())); + shared_ptr<DCPExaminer> examiner (new DCPExaminer (shared_from_this ())); take_from_video_examiner (examiner); + + boost::mutex::scoped_lock lm (_mutex); + _name = examiner->name (); } string DCPContent::summary () const { - return String::compose (_("%1 [DCP]"), path_summary ()); + boost::mutex::scoped_lock lm (_mutex); + return String::compose (_("%1 [DCP]"), _name); } string |
