summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-07-30 21:53:49 +0000
committerjstebbins <[email protected]>2008-07-30 21:53:49 +0000
commitdff2e8c7a540f22a5a1157199c7aef26c4a4ffa2 (patch)
treeeb2c369fc9d74f8a52965e33fbd2eef10037fb2a /gtk/src/hb-backend.h
parent95c6abc0b1d61b53f85436067eea08fbc1833a80 (diff)
LinGui: make the progress bar behave better when scanning while encoding
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1596 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.h')
-rw-r--r--gtk/src/hb-backend.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.h b/gtk/src/hb-backend.h
index 4f9821322..d03589191 100644
--- a/gtk/src/hb-backend.h
+++ b/gtk/src/hb-backend.h
@@ -29,6 +29,23 @@ enum
GHB_EVENT_WORK_CANCELED
};
+typedef struct ghb_status_s
+{
+ gint state;
+ gint title_count;
+ gint title_cur;
+ gint unique_id;
+ gint job_cur;
+ gint job_count;
+ gdouble progress;
+ gdouble rate_cur;
+ gdouble rate_avg;
+ gint hours;
+ gint minutes;
+ gint seconds;
+ gint error;
+} ghb_status_t;
+
#define GHB_SCALE_KEEP_NONE 0
#define GHB_SCALE_KEEP_WIDTH 1
#define GHB_SCALE_KEEP_HEIGHT 2