Slight hack to reduce the chance of config files looking different
[dcpomatic.git] / src / lib / examine_ffmpeg_subtitles_job.cc
index b9d5f54e5d09385f21406a52683dd4cfbe60abd7..90589eb2843c8794fc2b4c46daca4b53b41f234a 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 
 using std::string;
 using std::cout;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 ExamineFFmpegSubtitlesJob::ExamineFFmpegSubtitlesJob (shared_ptr<const Film> film, shared_ptr<FFmpegContent> c)
        : Job (film)
@@ -43,6 +43,11 @@ ExamineFFmpegSubtitlesJob::ExamineFFmpegSubtitlesJob (shared_ptr<const Film> fil
 
 }
 
+ExamineFFmpegSubtitlesJob::~ExamineFFmpegSubtitlesJob ()
+{
+       stop_thread ();
+}
+
 string
 ExamineFFmpegSubtitlesJob::name () const
 {