Basic adaptations for changes to libdcp1 colour conversion handling.
[dcpomatic.git] / src / lib / image_content.cc
index 84b0b75c9732a4cd47dc30e1698ee1a82335c675..b8d2a6921c3df204e161a07835273b50a913c8fd 100644 (file)
@@ -100,13 +100,12 @@ ImageContent::as_xml (xmlpp::Node* node) const
 }
 
 void
-ImageContent::examine (shared_ptr<Job> job)
+ImageContent::examine (shared_ptr<Job> job, bool calculate_digest)
 {
-       job->sub (_("Computing digest"));
-       Content::examine (job);
+       Content::examine (job, calculate_digest);
 
        shared_ptr<const Film> film = _film.lock ();
-       assert (film);
+       DCPOMATIC_ASSERT (film);
        
        shared_ptr<ImageExaminer> examiner (new ImageExaminer (film, shared_from_this(), job));
        take_from_video_examiner (examiner);
@@ -127,7 +126,7 @@ DCPTime
 ImageContent::full_length () const
 {
        shared_ptr<const Film> film = _film.lock ();
-       assert (film);
+       DCPOMATIC_ASSERT (film);
        return DCPTime (video_length_after_3d_combine(), FrameRateChange (video_frame_rate(), film->video_frame_rate()));
 }