summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-11-07 17:29:03 +0000
committerjstebbins <[email protected]>2009-11-07 17:29:03 +0000
commitccca5789382f571a21edf068549a5bf85dfbbda4 (patch)
tree361668f605bad25a3022c42b186f30cddbdd34b0 /libhb/common.h
parent953bf32afdef1656cc22c3ab973b32cc4b2b78f0 (diff)
Maintain an accurate job ETA across pause/resume
Keeps track of how much time is spent paused and factors that into the ETA calculation git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2918 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 15ab737bd..b6c5e5714 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -277,6 +277,9 @@ struct hb_job_s
volatile int * die;
volatile int done;
+ uint64_t st_pause_date;
+ uint64_t st_paused;
+
hb_fifo_t * fifo_mpeg2; /* MPEG-2 video ES */
hb_fifo_t * fifo_raw; /* Raw pictures */
hb_fifo_t * fifo_sync; /* Raw pictures, framerate corrected */