Missing FFmpeg include; fixes #989.
[dcpomatic.git] / src / lib / job.h
index 7bc051142c5507802d022c479c03befadd22b911..660ddaa132715dc7e4f4dba1cb647344492de441 100644 (file)
@@ -65,7 +65,6 @@ public:
        std::string error_summary () const;
        std::string error_details () const;
 
-       int elapsed_time () const;
        virtual std::string status () const;
        std::string json_status () const;
        std::string sub_name () const {
@@ -103,6 +102,8 @@ protected:
 
        void set_state (State);
        void set_error (std::string s, std::string d);
+       int elapsed_sub_time () const;
+       void check_for_interruption_or_pause ();
 
        boost::shared_ptr<const Film> _film;
 
@@ -121,8 +122,10 @@ private:
        std::string _error_summary;
        std::string _error_details;
 
-       /** time that this sub-job was started */
+       /** time that this job was started */
        time_t _start_time;
+       /** time that this sub-job was started */
+       time_t _sub_start_time;
        std::string _sub_name;
 
        /** mutex for _progress and _last_progress_update */