diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-26 01:14:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-26 01:14:20 +0200 |
| commit | d3455851f60ee6bc35ea4f314c62a7da51ce0d81 (patch) | |
| tree | 5234f53e82bbc3b33d42d7da7e30878435e5c200 /src/lib/job.h | |
| parent | 29e45a5b851a3117ef568c72a4aab068a80a3430 (diff) | |
Use _{start,finish}_time in TranscodeJob.
Diffstat (limited to 'src/lib/job.h')
| -rw-r--r-- | src/lib/job.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/job.h b/src/lib/job.h index 8edde6845..dc5f7bc34 100644 --- a/src/lib/job.h +++ b/src/lib/job.h @@ -130,6 +130,9 @@ protected: std::shared_ptr<const Film> _film; + time_t _start_time = 0; + time_t _finish_time = 0; + private: void run_wrapper (); @@ -147,12 +150,9 @@ private: /** a message that should be given to the user when the job finishes */ boost::optional<std::string> _message; - /** 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; - time_t _finish_time = 0; /** mutex for _progress and _last_progress_update */ mutable boost::mutex _progress_mutex; |
