diff options
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 |
