summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 61864e9c0..dea4a4800 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -322,6 +322,7 @@ struct hb_work_object_s
int id;
char * name;
+#ifdef __LIBHB__
int (* init) ( hb_work_object_t *, hb_job_t * );
int (* work) ( hb_work_object_t *, hb_buffer_t **,
hb_buffer_t ** );
@@ -333,11 +334,11 @@ struct hb_work_object_s
hb_work_private_t * private_data;
- hb_lock_t * lock;
- int used;
- uint64_t time;
+ hb_thread_t * thread;
+ volatile int * done;
hb_work_object_t * next;
+#endif
};
extern hb_work_object_t hb_sync;