summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-02-04 19:44:40 +0000
committersr55 <[email protected]>2013-02-04 19:44:40 +0000
commit4ea1e568a7ad2e8ae4068d76e00f30dd77e280bd (patch)
tree68346349bc30a460a601df550235dad3c0d7674f /libhb/internal.h
parenta735c9046533954e1bba5cf8996d98e15b2e86cc (diff)
Prevent OSX ML sleep during encoding, thanks to Jerome Lacube
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5238 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 81cc8680f..8bf9fa533 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -39,6 +39,8 @@ void hb_title_close( hb_title_t ** );
**********************************************************************/
int hb_get_pid( hb_handle_t * );
void hb_set_state( hb_handle_t *, hb_state_t * );
+void hb_prevent_sleep( hb_handle_t * );
+void hb_allow_sleep( hb_handle_t * );
/***********************************************************************
* fifo.c
@@ -229,7 +231,7 @@ hb_thread_t * hb_scan_init( hb_handle_t *, volatile int * die,
const char * path, int title_index,
hb_title_set_t * title_set, int preview_count,
int store_previews, uint64_t min_duration );
-hb_thread_t * hb_work_init( hb_list_t * jobs,
+hb_thread_t * hb_work_init( hb_handle_t * handle, hb_list_t * jobs,
volatile int * die, int * error, hb_job_t ** job );
void ReadLoop( void * _w );
hb_work_object_t * hb_muxer_init( hb_job_t * );