Fix DCP name in editor; fix use of DCP entry points.
[dcpomatic.git] / src / lib / dcp_examiner.cc
index 7ce18c9f78e926422d11ff06ef75b5440d2c66cf..3051a46701265d714a4d6084226a1378f2eda183 100644 (file)
@@ -43,6 +43,8 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
                throw DCPError ("Multiple CPLs found in DCP");
        }
 
+       _name = dcp.cpls().front()->content_title_text ();
+
        list<shared_ptr<dcp::Reel> > reels = dcp.cpls().front()->reels ();
        for (list<shared_ptr<dcp::Reel> >::const_iterator i = reels.begin(); i != reels.end(); ++i) {