Extract common code out into kdm_for_screen()
[dcpomatic.git] / src / lib / examine_content_job.cc
index a304ebea09130bfa80894d2ce51e1ca2247d85ed..3be38863d46e4204bf364da3989ee4b1d7e0fe19 100644 (file)
@@ -40,12 +40,13 @@ ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Co
 
 ExamineContentJob::~ExamineContentJob ()
 {
+       stop_thread ();
 }
 
 string
 ExamineContentJob::name () const
 {
-       return _("Examine content");
+       return _("Examining content");
 }
 
 string
@@ -57,7 +58,7 @@ ExamineContentJob::json_name () const
 void
 ExamineContentJob::run ()
 {
-       _content->examine (shared_from_this ());
+       _content->examine (_film, shared_from_this());
        set_progress (1);
        set_state (FINISHED_OK);
 }