summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-18 17:59:24 +0000
committerRodeo <[email protected]>2013-03-18 17:59:24 +0000
commitb15a531495fdd01eee3135055d2f52d25daf1967 (patch)
tree28bd90d22c91969d12f1df35a561e6326771db98 /libhb/internal.h
parent17d69968280460c2c16d2e26e0a5232bde2b2adb (diff)
hb_system_sleep: allow/prevent sleep from the UI rather than libhb.
The code that sets/unsets the "power assertions" is still in libhb. Patch by Jérôme Lacube. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5336 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 2e890a752..4a2f775a9 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -39,8 +39,6 @@ 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
@@ -231,7 +229,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_handle_t * handle, hb_list_t * jobs,
+hb_thread_t * hb_work_init( 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 * );