Try to allow users to specify that the film's header should be trusted wrt length...
[dcpomatic.git] / src / lib / examine_content_job.h
index d8e94f1ec2f6cb5755336a4ffd682a0c866f476c..2004aca8318225e2b2f33da0c6b70f1c959b0c59 100644 (file)
 
 #include "job.h"
 
-class Decoder;
-
 /** @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<const FilmState>, Log *, boost::shared_ptr<Job> req);
+       ExamineContentJob (boost::shared_ptr<Film>, boost::shared_ptr<Job> req);
        ~ExamineContentJob ();
 
        std::string name () const;
        void run ();
-
-       int last_video_frame () const;
-       int audio_to_discard () const;
-
-private:
-       boost::shared_ptr<Decoder> _decoder;
 };