X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexamine_content_job.h;h=f0d9eae930c9ce6d8ef7ef6ac8d876240ca793d0;hb=c008066160d85b9ec9e5485375d7baaa5d27bda2;hp=d149341b4456589e9d1fdda31fc72d978e32d2aa;hpb=bb767c7e338414beee132af3e96829c1448e214b;p=dcpomatic.git diff --git a/src/lib/examine_content_job.h b/src/lib/examine_content_job.h index d149341b4..f0d9eae93 100644 --- a/src/lib/examine_content_job.h +++ b/src/lib/examine_content_job.h @@ -17,29 +17,23 @@ */ -/** @file src/examine_content_job.h - * @brief A class to run through content at high speed to find its length. - */ - +#include #include "job.h" -class Decoder; +class Content; +class Log; -/** @class ExamineContentJob - * @brief A class to run through content at high speed to find its length. - */ class ExamineContentJob : public Job { public: - ExamineContentJob (boost::shared_ptr, Log *); + ExamineContentJob (boost::shared_ptr, boost::shared_ptr, bool calculate_digest); ~ExamineContentJob (); std::string name () const; void run (); - int last_video_frame () const; - private: - boost::shared_ptr _decoder; + boost::shared_ptr _content; + bool _calculate_digest; };