summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-09 10:17:49 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-09 10:17:49 +0100
commit0dc52cd6e69890cd8a2c539e80389ea8bac5cc3c (patch)
tree0dbf929df2936893ce4ba952fffc54e2c1303f37 /src/lib/dcp_content.cc
parent2cf3da72a017eebf741dfb9a5ec158df94a4e7b7 (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.cc8
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